Connect and get help from 7,000+ developers on our Discord community.
Ask the Community
Simulate geolocation for EarlGrey tests
Simulate the location of a real device to specific GPS coordinates in order to test location-based scenarios for your app. Execute EarlGrey tests in real user conditions.
IP Geolocation testing allows you to test your mobile apps across different countries using IP Geolocation. In order to use IP Geolocation with your automated tests, you need to use the following parameter while executing your Espresso test: geoLocation
See the list of all the 45+ supported countries.
| Parameter | Required / Optional | Description |
|---|---|---|
geoLocation |
Optional | Required if you want to test how your app behaves in specific countries. “CN” for China, “FR” for France, “IN” for India and “US” for United States of America. See the complete list of of over 45+ countries |
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
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!