Skip to main content
Transform your testing process with: Real Device Features, Company-wide Licences, & Test Observability
No Result Found

Simulate Geolocation

Simulate location of browsers and devices using IP Geo-location on BrowserStack Automate

IP Geolocation is an Enterprise-only feature. You can contact sales to get an Enterprise plan for your account.

If your website serves different content based on the country your end-users live in, you will want to test that functionality. You can use the geolocation capability to test your websites across different countries using BrowserStack’s IP Geolocation feature.

If you are using BrowserStack SDK, you can set the following capabilities in the browserstack.yml file:

Capability Description Expected values
geoLocation The country you want your test to detect A string. An ISO 2 country code

FR for France,
CN for China

See the list of 45+ countries we support
browserstack.yml
Copy icon Copy
geoLocation: FR

Note: This feature only sets the IP to the selected geolocation, and not guaranteed to set the appropriate timezone. If you want to use the timezone in that country, you will have to configure a custom timezone.

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
Download Copy Check Circle