Features
< Back to Blog Overview

Geolocation testing with Selenium

2018-06-12
GeoIP, Localised testing in various countries with proxies.
  • Share on Facebook
  • Share on Twitter
  • Share on LinkedIn
  • Share on HackerNews

With the most recent release of our TestingBot Tunnel, version 2.8, we now provide GeoIP/localized testing.


By utilising an external proxy service like Luminati.io or Wonderproxy.com you can now run both Automated and Live tests through proxies distributed across various countries in the world.


To get started, download our TestingBot tunnel and start it with these parameters:

Copy code
java -jar testingbot-tunnel.jar --tunnel-identifier proxyTest --proxy proxyIp:proxyPort 
--proxy-userpwd proxyUsername:proxyPassword

Simply sign up with an external proxy service. These services will offer various proxies (proxyIp, proxyPort and credentials) in various countries.


Once the tunnel is active, you can start a new Live test session which will automatically use the proxy. For automated tests, simply pass the tunnelIdentifier desired capability to use the proxy.

You will now run tests from an IP address in the country you specified.


Why do GeoIP testing?


  • You want to test if your GDPR flow is correctly working (EU IPs)
  • Certain parts of your product are different in certain countries, or only available in certain countries.
  • Verify if your website is up and running in different countries.

More information is available on our GeoIP documentation page.

TestingBot Logo

Sign up for a Free Trial

Start testing your apps with TestingBot.

No credit card required.

Other Articles

blank

If you're looking to learn more about Selenium, including tips and tricks, then we can recommend selenium.academy.

Read more
blank

Good news for all Slack users: TestingBot now has its own Slack App which can be added to your Slack Workspace. You can immediately head over to...

Read more
TeamCity Plugin Now Available for TestingBot

We're pleased to announce that we've created a Plugin for TeamCity (a continuous-integration system created by Jetbrains).

Read more
iPhone X, iPhone 8 and iOS 11.0 Automated & Manual Testing

Today we've added iPhone X, iPhone 8, iPhone 8s and other iPhone models with iOS 11.0 to our list of browsers/devices to test on.

Read more
Automated & Manual Browser Testing on Mac OS High Sierra

We're pleased to announce that starting today, we've added macOS High Sierra (mac 10.13) beta to our list of available platforms.

Read more
blank

Since Chrome 60, there's an option to make Chrome run in headless mode. Headless mode means Chrome does not need to start up a User Interface (Wind...

Read more