Use IP geolocation

BrowserStack’s IP geolocation feature allows you to simulate website and mobile behavior from different locations by using IP addresses hosted in 45+ countries around the world. By incorporating IP geolocation into your tests, you can verify scenarios such as localized pricing, languages, product listings and much more.

With IP geolocation enabled, traffic from your mobile app will originate from an IP address hosted in the country you have chosen. With over 45+ countries to choose from, you can now test how your mobile app behaves across the world.

Use the browserstack.geoLocation capability to test country-specific behavior for your apps :

Capability Description Value
browserstack.geoLocation Test how your app behaves in specific countries < Two letter country code >
Example: “CN” for China, “FR” for France, “IN” for India and “US” for United States of America


DesiredCapabilities desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability("browserstack.geoLocation", "BG");
var capabilities = {
	'browserstack.geoLocation': 'BG'
DesiredCapabilities capability = new DesiredCapabilities();
capability.SetCapability("browserstack.geoLocation", "BG");
$capabilities = new DesiredCapabilities();
$capabilities->setCapability("browserstack.geoLocation", "BG");
desired_cap = {
	'browserstack.geoLocation': 'BG'
desired_caps = {
    'browserstack.geoLocation': 'BG'

List of supported country codes:

The complete list of over 45+ countries that are supported for the IP Geolocation feature can be found here

Note: IP geolocation feature for app testing is only available with a BrowserStack Enterprise plan. View details.