Skip to main content

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 Fire OS 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

Example:

DesiredCapabilities desiredCapabilities = new DesiredCapabilities();
desiredCapabilities.setCapability("browserstack.geoLocation", "BG");
var capabilities = {
	'browserstack.geoLocation': 'BG'
}
desired_caps = {
    'browserstack.geoLocation': 'BG'
}

List of supported country codes:

The complete list of over 45+ countries that are supported can be found in the documentation for IP geolocation

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback!

Talk to an Expert
Talk to an Expert