Skip to main content

Simulate Geolocation

Learn how to simulate user traffic from different locations.

Live enables you to simulate user traffic from different locations with the Change Location feature. This feature allows you to test how your website renders in different locations. You can test websites such as:

  • Websites that are geo-restricted.
  • Websites that show content in different languages based on different geolocations.
  • Websites that apply different data laws according to the country.

Change location

All BrowserStack real devices have GPS enabled, and you can simulate GPS location to test your website in different locations.

To change the device GPS location, follow these steps:

  1. Log in to the Live dashboard.
  2. Select a device and browser to launch your test session.
  3. On the Live vertical toolbar, click Change Location. Click Change Location
  4. On the Change Location prompt, click the Device GPS tab.
  5. Enter the location. You can enter the location in two ways:
    • Search complete address.
    • Enter latitude and longitude in comma-separated format. For example, 12.971599, 77.594566.
    • Drag and drop the map pointer to the desired location on the map.
      After you enter the location, click the forward arrow within the location textbox. On the confirmation message, click Yes. Device GPS

You see a message on the dashboard that the selected location is simulated on the device.

To test your app by simulating IP-based location changes:

  1. Log in to the Live dashboard.
  2. Select the device and browser to launch your test session.
  3. On the Live vertical toolbar, click Change Location.
  4. On the Change Location prompt, click the IP Location tab. Click IP Location
  5. Search or select the country/state. On the confirmation message, click Yes to confirm the IP location. Set location using GPS

You see a message on the dashboard that the selected IP location is simulated on the device.

If you have enabled local testing for your test session, changing IP location disables local testing. To enable local testing, set the IP location to None.

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