Knowledge Base

  1. Home
  2. Knowledge Base
  3. General
  4. How-to
  5. How to check the public IP address of testRTC probes?
How to check the public IP address of testRTC probes?

There are times where you may want to know the public IP address of a testRTC probe. This may be needed when you are using some geolocation capabilities or when you limit the service to certain IP addresses.

One of the simplest ways to do is to visit a website that offers that service and take a screenshot from within a test script.

Here’s an example of using maxmind for that purpose:

 

client
  .url('https://www.maxmind.com/en/locate-my-ip-address')
  .pause(12000)
  .waitForElementVisible("#geoip-demo-results-tbody", 90000)
  .pause(2000)
  .rtcScreenshot('Client - IP')

 

 

Was this article helpful?

Related Articles

Leave a Reply 0 comments

Leave a Reply: