diff --git a/assets/images/real-device-app-testing/Real_Device_App_geolocation.jpg b/assets/images/real-device-app-testing/Real_Device_App_geolocation.jpg new file mode 100644 index 000000000..01ae27cda Binary files /dev/null and b/assets/images/real-device-app-testing/Real_Device_App_geolocation.jpg differ diff --git a/assets/images/real-device-app-testing/Real_device_chrome_devtools.png b/assets/images/real-device-app-testing/Real_device_chrome_devtools.png new file mode 100644 index 000000000..2aee57a87 Binary files /dev/null and b/assets/images/real-device-app-testing/Real_device_chrome_devtools.png differ diff --git a/assets/images/real-device-app-testing/real_device_safari_devtools.png b/assets/images/real-device-app-testing/real_device_safari_devtools.png new file mode 100644 index 000000000..056c35245 Binary files /dev/null and b/assets/images/real-device-app-testing/real_device_safari_devtools.png differ diff --git a/assets/images/real-device-browser-testing/Real_device_Browser_geolocation.jpg b/assets/images/real-device-browser-testing/Real_device_Browser_geolocation.jpg new file mode 100644 index 000000000..77951a16c Binary files /dev/null and b/assets/images/real-device-browser-testing/Real_device_Browser_geolocation.jpg differ diff --git a/assets/images/real-device-browser-testing/Real_device_browser_selection.jpg b/assets/images/real-device-browser-testing/Real_device_browser_selection.jpg new file mode 100644 index 000000000..fc91adae2 Binary files /dev/null and b/assets/images/real-device-browser-testing/Real_device_browser_selection.jpg differ diff --git a/docs/appium-ip-geolocation.md b/docs/appium-ip-geolocation.md new file mode 100644 index 000000000..4e4907710 --- /dev/null +++ b/docs/appium-ip-geolocation.md @@ -0,0 +1,299 @@ +--- +id: appium-ip-geolocation +title: IP Geolocation +hide_title: true +sidebar_label: IP Geolocation +description: This document provides information about configuring IP Geolocation for tests on the LambdaTest platform and also provides a list of supported geolocations on Real Devices. +keywords: + - IP Geolocation + - geolocation testing + - testing tools + - LambdaTest + - IP geolocation support + +url: https://www.lambdatest.com/support/docs/appium-ip-geolocation/ +site_name: LambdaTest +slug: appium-ip-geolocation/ +--- + + +import CodeBlock from '@theme/CodeBlock'; +import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys"; + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + +# IP Geolocation + +Lambdatest's IP Geolocation feature empowers users to test their websites and mobile applications from various geographical locations worldwide. This feature enables users to simulate traffic originating from different countries and regions, allowing for comprehensive testing of platform functionalities across diverse global markets. + +By the end of this document, you'll learn how to use this feature in both manual and automation tests. Additionally, this document will provide a list of all supported IP geolocations on Lambdatest. + + +## Support for Manual Testing on Real Devices + +Once a session starts , navigate to the toolbar and select **IP Geolocation** followed by any location from the list to change the geolocation of the device. + + +Image + +## Support for Automation on Real Devices + +To harness the **IP Geolocation** feature in your automated tests, employ the `geoLocation` capability along with a two-letter country code from the list of supported countries provided below. This capability enables you to modify the device's geolocation to the specified location. If this capability is not added, the device will automatically update its geolocation based on its physical location. + +**Java Example:** +```java +// Java code for configuring IP Geolcation in tests on LambdaTest +DesiredCapabilities capabilities = new DesiredCapabilities(); +capabilities.setCapability("geoLocation", "FR"); +// Add other capabilities as needed +``` + +## Supported IP Geolocations + +Below is the list of supported countries along with their respective country codes: + +| Name | Code | +| --------------------------------- | -------- | +| Adelaide (Australia) | AU/AL | +| Albania | AL | +| Alberta (Canada) | CA/AB | +| Albuquerque, New Mexico (US) | US/ABQ | +| Andorra | AD | +| Andhra Pradesh (India) | IN/AP | +| Ankara (Turkey) | TR/ANK | +| Argentina | AR | +| Armenia | AM | +| Ashburn, Virginia (US) | US/AB | +| Atlanta, Georgia (US) | US/AT | +| Auckland (New Zealand) | NZ/AU | +| Australia | AU | +| Austria | AT | +| Azerbaijan | AZ | +| Bahrain | BH | +| Bangladesh | BD | +| Barcelona (Spain) | ES/BCN | +| Belarus | BY | +| Belgium | BE | +| Berlin | V2 | +| Berkeley Springs, WV (US) | US/BS | +| Billings, Montana (US) | US/BL | +| Boca Raton, Florida (US) | US/BR | +| Bolivia (La Paz) | BO/LPZ | +| Bosnia and Herzegovina | BA | +| Boston, Massachusetts (US) | US/BO | +| Brazil | BR | +| British Colombia (Canada) | CA/BC | +| Brunswick, Maine (US) | US/BWK | +| Buffalo, New York (US) | US/BU | +| Bulgaria | BG | +| Cambodia | KH | +| Canada | CA | +| Canberra (Australia) | AU/CN | +| Charlotte, NC (US) | US/CH | +| Cheyenne, Wyoming (US) | US/CY | +| Chile | CL | +| China | CN | +| Chicago, Illinois (US) | US/CHI | +| Colombia | CO | +| Columbus, Ohio (US) | US/CO | +| Connecticut (US) | US/CN | +| Costa Rica | CR | +| Cromwell, Connecticut (US) | US/CM | +| Curacao | CW | +| Cyprus | CY | +| Czech Republic | CZ | +| Dallas, Texas (US) | US/DL | +| Dallas-Ft. Worth, Texas (US) | US/DFW | +| Denmark | DK | +| Denver, Colorado (US) | Y6 | +| Des Moines, Iowa (US) | US/DM | +| Detroit, Michigan (US) | US/DET | +| Dominican Republic | DO | +| Dublin (Ireland) | IE/DU | +| Ecuador | EC | +| Egypt | EG | +| El Salvador | SV | +| Estonia | EE | +| Finland | FI | +| France | FR | +| Georgia | GE | +| Germany | DE | +| Greece | GR | +| Guatemala | GT | +| Harrisburg, Pennsylvania (US) | US/HB | +| Hollywood, Florida (US) | US/HW | +| Honduras | HN | +| Hong Kong | HK | +| Honolulu, HI | U3 | +| Houston, Texas (US) | US/HO | +| Hungary | HU | +| Iceland | IS | +| India | IN | +| Indonesia | ID | +| Indianapolis, Indiana (US) | US/IN | +| Iowa (US) | US/IW | +| Ireland | IE | +| Isle of Man | IM | +| Israel | IL | +| Italy | IT | +| Jamaica | JM | +| Japan | JP | +| Jersey City, New Jersey (US) | US/JC | +| Jordan | JO | +| Kansas City, Missouri (US) | US/KC | +| Kazakhstan | KZ | +| Kenya | KE | +| Korea | KR | +| Kuwait | KW | +| Kyrgyzstan | KG | +| La Paz (Bolivia) | BO/LPZ | +| Las Vegas, Nevada (US) | US/LV | +| Latvia | LV | +| Lebanon | LB | +| Lincoln, Nebraska (US) | US/LC | +| Lithuania | LT | +| London | W8 | +| Los Angeles, California (US) | US/LA | +| Luxembourg | LU | +| Madrid (Spain) | ES/MAD | +| Manhattan, New York (US) | US/MHT | +| Maryland (US) | US/ML | +| Malta | MT | +| Melbourne (Australia) | AU/ML | +| Memphis, Tennessee (US) | W4 | +| Mexico | MX | +| Miami, Florida (US) | US/MI | +| Milan (Italy) | IT/MIL | +| Minneapolis, Minnesota (US) | US/MIN | +| Minnesota (US) | US/MN | +| Moldova | MD | +| Mongolia | MN | +| Montana (US) | US/MT | +| Monticello, Illinois (US) | US/MO | +| Morocco | MA | +| Mumbai (India) | IN/MU | +| Munich (Germany) | DE/MUN | +| Nairobi (Kenya) | KE/NAI | +| Nebraska (US) | US/NB | +| New Hamisphere (US) | US/NH | +| New Jersey, New Jersey | X4 | +| New Orleans, Louisiana (US) | US/NO | +| New York City, New York (US) | US/NYC | +| New York City, New York (US) | Z0 | +| New Zealand | NZ | +| Nicaragua | NI | +| Nigeria | NG | +| Norway | NO | +| Oklahoma City, Oklahoma (US) | US/OKC | +| Oman | OM | +| Ontario (Canada) | CA/ON | +| Orlando, Florida (US) | US/ORL | +| Pakistan | PK | +| Panama | PA | +| Paraguay | PY | +| Paris (France) | FR/PA | +| Perth (Australia) | AU/PT | +| Peru | PE | +| Philippines | PH | +| Phoenix, Arizona (US) | US/PHX | +| Pittsburgh, Pennsylvania (US) | US/PIT | +| Poland | PL | +| Portugal | PT | +| Puerto Rico | PR | +| Qatar | QA | +| Raleigh, North Carolina (US) | US/RA | +| Reston, Virginia (US) | US/RT | +| Reykjavik (Iceland) | IS/REK | +| Richmond, Virginia (US) | US/RM | +| Romania | RO | +| Russian Federation | RU | +| Sacramento, California (US) | US/SAC | +| Saint Petersburg (Russia) | RU/SP | +| Salem, New Hampshire (US) | US/SLE | +| Salem, NH | U5 | +| Salt Lake City, Utah (US) | US/SLC | +| San Diego, California (US) | US/SD | +| San Francisco, California (US) | US/SF | +| San Jose, California (US) | US/SJ | +| Santa Clara, California (US) | US/SC | +| Saudi Arabia | SA | +| Serbia | RS | +| Seattle, Washington (US) | US/SEA | +| Singapore | SG | +| Sioux Falls, South Dakota (US) | US/SFL | +| Slovakia | SK | +| Slovenia | SI | +| South Africa | ZA | +| South Bend, Indiana (US) | US/SB | +| Spain | ES | +| Sterling, Virginia (US) | US/ST | +| St Louis, Missouri (US) | US/STL | +| Sweden | SE | +| Switzerland | CH | +| Sydney (Australia) | AU/SY | +| Taiwan | TW | +| Tampa, Florida (US) | US/TPA | +| Tanzania | TZ | +| Thailand | TH | +| Tunisia | TN | +| Turkey | TR | +| Turkmenistan | TM | +| Ukraine | UA | +| United Arab Emirates | AE | +| United Kingdom | GB | +| United States | US | +| Uruguay | UY | +| Uzbekistan | UZ | +| Venezuela | VE | +| Vietnam | VN | +| Washington | Z6 | +| Washington (Herndon), Virginia | US/WAV | +| Wilmington, DE | U4 | +| Wilmington, Delaware (US) | US/WILM | + + + + \ No newline at end of file diff --git a/docs/devtools-on-real-devices-app.md b/docs/devtools-on-real-devices-app.md new file mode 100644 index 000000000..7a2449822 --- /dev/null +++ b/docs/devtools-on-real-devices-app.md @@ -0,0 +1,112 @@ +--- +id: devtools-on-real-devices-app +title: DevTools On Real Devices +sidebar_label: DevTools +description: Inspect and debug embedded web views in real mobile devices using LambdaTest's DevTools. + +keywords: + - webview debugging on real device + - inspect hybrid app webview + - LambdaTest webview tools + - real device DevTools + - simulate GPS location iOS + - mobile web view inspection + - webview console logs + - DOM inspection mobile + - app testing + - real devices + - chrome devtools mobile + - safari devtools mobile + - app testing webview +url: https://www.lambdatest.com/support/docs/devtools-on-real-devices-app/ +site_name: LambdaTest +slug: devtools-on-real-devices-app/ +--- + +import CodeBlock from '@theme/CodeBlock'; +import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys"; + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + +> To enable it for your organization, please contact us via window.openLTChatWidget()}>**24×7 chat support** or you can also drop a mail to **support@lambdatest.com**.
+ +Testing hybrid apps or mobile websites that rely on embedded web views often requires advanced debugging capabilities. With LambdaTest, you can inspect and debug these web views directly on **real Android and iOS devices** using familiar tools like [**Chrome DevTools**](https://developer.chrome.com/docs/devtools/) and [**Safari Web Inspector**](https://developer.apple.com/safari/tools/#current). + +This enables seamless inspection of DOM elements, console logs, network activity, and JavaScript execution—giving developers the same debugging power they enjoy on desktop browsers. + + + +## Access DevTools on LambdaTest Real Devices + +**Step 1:** Log into your LambdaTest dashboard and navigate to **Real Devices** > **App Testing**. + +**Step 2:** Choose a real Android or iOS device, upload your app (APK/IPA) or open a browser URL, and click **Start** to launch your session. + +**Step 3:** Once your app or mobile website loads, go to the screen with the WebView content. + +**Step 4:** In the session toolbar, click on the **Chrome DevTools** button. + + + +**Step 5:** A debugging window will open: +- On **Android**, this launches Chrome DevTools. +- On **iOS**, you can choose between Safari Web Inspector or Chrome DevTools. + + + +Use the DevTools interface to inspect HTML structure, debug JavaScript, monitor network requests, and view console logs in real time. + + +--- +## Supported Platforms + +| Platform | Debugging Tools Available | OS Versions Supported | +|----------|---------------------------|------------------------| +| Android | Chrome DevTools | Android 9 and above | +| iOS | Safari Web Inspector, Chrome DevTools | iOS 13 and above | + +:::note +With Hybrid application, release builds must enable the ability to inspect web views in your application. + +- On Android 4.4*, call WebView.setWebContentsDebuggingEnabled. +- On iOS 16.4+, set isinspectable to true on on the Webkit/WKWebView instance. +::: +--- + +## Use Cases + +- Inspect embedded content in hybrid mobile apps +- Debug JavaScript errors or performance issues +- Test mobile websites inside native wrappers +- Validate responsive design and layout within WebViews +- Troubleshoot third-party widget rendering or data fetching +- Test ad placements or dynamic content in app containers +- Analyze network requests, responses, and timings to optimize your network. +- View and edit DOM elements. + +--- \ No newline at end of file diff --git a/docs/espresso-supported-capabilities.md b/docs/espresso-supported-capabilities.md index 1a47835dd..03abcf439 100644 --- a/docs/espresso-supported-capabilities.md +++ b/docs/espresso-supported-capabilities.md @@ -60,7 +60,7 @@ This document provide details about the features and capabilities supported for | network | Boolean | To generate the network logs , pass the value as `network: true` | | network.har | Boolean | To generate the network logs in .har format, pass the value as `network.har: true` only works with `network:true` | | build | String | To set the Espresso build name. Example: `build: My Espresso Build`. | -| geoLocation | String | Set the geolocation country code if you want to enable the same in your test. Example - `geoLocation: FR`| +| geoLocation | String | Set the geolocation [country code](/support/docs/appium-ip-geolocation/#supported-ip-geolocations) if you want to enable the same in your test. Example - `geoLocation: FR`| | gpsLocation | Decimal | The capability should be defined to override the device’s default GPS coordinates and should be provided as a comma-separated string. Example: `"location": {"lat": "-50","long": "150.028333"}`| | enableBluetooth | Boolean | Used to enable the bluetooth functionality during the session. Example: `enableBluetooth: true`| | tunnel, tunnelName | Boolean | To activate the tunnel mode, pass the value as `tunnel: true` and provide the name of your tunnel as `tunnelName: NewTunnel` | diff --git a/docs/flutter-supported-capabilities.md b/docs/flutter-supported-capabilities.md new file mode 100644 index 000000000..c367d3398 --- /dev/null +++ b/docs/flutter-supported-capabilities.md @@ -0,0 +1,68 @@ +--- +id: flutter-supported-capabilities +title: Flutter Supported Capabilities +sidebar_label: Supported Capabilities +description: Now you can run your Flutter framework on LambdaTest online grid of 3000+ real desktop browsers and real operating systems with its supported capabilities. +keywords: + - flutter + - java + - lambdatest java + - framework on lambdatest + - testng + - app testing + - real devices +image: /assets/images/og-images/appium-testing-og-image.jpg +url: https://www.lambdatest.com/support/docs/flutter-supported-capabilities/ +site_name: LambdaTest +slug: flutter-supported-capabilities/ +--- + +import CodeBlock from '@theme/CodeBlock'; +import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys"; + + + +This document provide details about the features and capabilities supported for Espresso Framework on LambdaTest. + +| Capability Name | Data Type | Description | +|------|-----------|-------------| +| app | String | Enter the app id generated while uploading the app to the platform. Example:`lt://APP123456789123456789` | +| testSuite | String | Enter the test suite id generated while uploading the test suite to the platform. Example: `lt://APP123456789123456789` | +| device | String | Enter the name and os version of the device in "DeviceName-OSVersion" format. Example: `Pixel 6-12` or `Galaxy S21 Ultra 5G-11`. You can also choose to use regular expression for device name such as `Pixel.*-12`. | +| video | Boolean | Generate video for all the tests that have run. Example: `true`. | +| queueTimeout | Integer | Total execution time of the build. Example: `queueTimeout: 300`. Maximum value is `10800`| +| testTimeout | Integer | Max wait time for test execution (default value - `900` secs) | +| deviceLog | Boolean | To generate the device logs. Example: `true`. | +| build | String | Set the name of your Flutter test build. Example: `My Flutter Build`. | +| autoGrantPermissions: | Boolean | Boolean value to automatically grant the required permissions based on the [Android manifest](https://developer.android.com/guide/topics/manifest/manifest-intro) in the app’s **.apk** Example: `true`. | +| build | String | To set the Espresso build name. Example: `build: My Espresso Build`. | +| geoLocation | String | Set the geolocation [country code](/support/docs/appium-ip-geolocation/#supported-ip-geolocations) if you want to enable the same in your test. Example - `geoLocation: FR`| +| gpsLocation | Decimal | The capability should be defined to override the device’s default GPS coordinates and should be provided as a comma-separated string. Example: `"location": {"lat": "-50","long": "150.028333"}`| +| enableBluetooth | Boolean | Used to enable the bluetooth functionality during the session. Example: `enableBluetooth: true`| + + +:::note +Ensure that the latitude is between -90 and 90, and the longitude is between -180 and 180. Otherwise, an error will occur like "Invalid GPS location: Latitude must be between -90 and +90, Longitude must be between -180 and +180." +::: \ No newline at end of file diff --git a/docs/getting-started-with-flutter-dart-android-automation.md b/docs/getting-started-with-flutter-dart-android-automation.md index a15dffeae..5bd155b80 100644 --- a/docs/getting-started-with-flutter-dart-android-automation.md +++ b/docs/getting-started-with-flutter-dart-android-automation.md @@ -270,26 +270,6 @@ curl --location --request POST "https://mobile-api.lambdatest.com/framework/v1/f Once you have run your tests, you can view the test execution along with logs. You will be able to see the test cases passing or failing. You can view the same at [LambdaTest Automation](https://appautomation.lambdatest.com/build). -## Capabilities Supported - -The following capabilities are supported: - -1. **app:** Enter the app id generated while uploading the app. Example:`lt://APP123456789123456789` -2. **testSuite:** Enter the test suite id generated while uploading the test suite. Example: `lt://APP123456789123456789` -3. **device:** Enter the name and os version of the device in "DeviceName-OSVersion" format. Example: `Pixel 6-12` or `Galaxy S21 Ultra 5G-11`. You can also choose to use regular expression for device name such as `Pixel.*-12`. -4. **video:** Generate video for all the tests that have run. Example: `true`. -5. **queueTimeout:** Enter the time in seconds for total execution time of the build. Example: `900`. -6. **testTimeout:** Max wait time for test execution (default value - `900` secs) -7. **deviceLog:** Boolean value to generate device logs. Example: `true`. -8. **build:** Set the name of your Flutter test build. Example: `My Flutter Build`. -9. **autoGrantPermissions:** Boolean value to automatically grant the required permissions based on the [Android manifest](https://developer.android.com/guide/topics/manifest/manifest-intro) in the app’s **.apk** Example: `true`. -10. **gpsLocation:** This capability should be defined to override the device’s default GPS coordinates and should be provided as a comma-separated string. Example: `"location": {"lat": "-50","long": "150.028333"}`. -11. **enableBluetooth:** This capability is used to enable the bluetooth functionality during the session. Example: `enableBluetooth: true` - -:::note -Ensure that the latitude is between -90 and 90, and the longitude is between -180 and 180. Otherwise, an error will occur like "Invalid GPS location: Latitude must be between -90 and +90, Longitude must be between -180 and +180." -::: - ## Running Tests in Parallel diff --git a/docs/ip-geolocation-on-real-devices-app.md b/docs/ip-geolocation-on-real-devices-app.md new file mode 100644 index 000000000..acd09d83a --- /dev/null +++ b/docs/ip-geolocation-on-real-devices-app.md @@ -0,0 +1,101 @@ +--- +id: ip-geolocation-on-real-devices-app +title: IP Geolocation on Real Devices App +sidebar_label: IP Geolocation +description: Test your app and website across real devices with LambdaTest. + +keywords: + - change geolocation on real device + - LambdaTest geolocation testing + - simulate GPS location Android + - real device location testing + - simulate GPS location iOS + - test app in different countries + - framework on lambdatest + - app testing appium + - app testing + - real devices +url: https://www.lambdatest.com/support/docs/ip-geolocation-on-real-devices-app/ +site_name: LambdaTest +slug: ip-geolocation-on-real-devices-app/ +--- + +import CodeBlock from '@theme/CodeBlock'; +import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys"; + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + +Location-specific behavior is crucial to ensure your mobile apps and websites deliver accurate and localized experiences to users worldwide. Whether it's testing region-based content, geo-restricted features, or local SEO implementations, manually simulating different geolocations is essential for a robust QA process. + +LambdaTest's Geolocation Simulation feature allows you to manually set and update the GPS location on real Android devices during live app testing sessions. This empowers you to verify how your app behaves for users across various regions—without needing to physically move devices or use external GPS spoofing tools. + + +## Update Geolocation for Real Devices on LambdaTest + +**Step 1:** Click on the **Real Devices** > **App Testing** + +**Step 2:** Select your required device and upload your application and click on Start button. + +**Step 3:** Once your live session begins, click the **IP Geolocation** option from the top toolbar. + + + +**Step 4:** Use the search bar to find the country or location you want to simulate. Select the desired location from the results. + +## Supported Android + + IP Geolocation is available on below android : + +| Android Version | +|----------------------| +|Android 15| +|Android 14| +|Android 13| +|Android 13| +|Android 12| +|Android 11| +|Android 10| +|Android 09| +|Android 08| + +--- + + +## Supported Country + +You can simulate geolocation for the following countries in LambdaTest's Real Device App Testing. Set the geolocation [country code](/support/docs/appium-ip-geolocation/#supported-ip-geolocations) if you want to enable the same in your test. + +--- + +## Use Cases + +- Localized pricing or currency display +- Regional push notifications or offers +- Language-specific UI behavior +- App feature availability by country +- Compliance with local regulations or restrictions \ No newline at end of file diff --git a/docs/ip-geolocation-on-real-devices-browser.md b/docs/ip-geolocation-on-real-devices-browser.md new file mode 100644 index 000000000..4c85249b9 --- /dev/null +++ b/docs/ip-geolocation-on-real-devices-browser.md @@ -0,0 +1,106 @@ +--- +id: ip-geolocation-on-real-devices-browser +title: IP Geolocation on Real Devices Browser +sidebar_label: IP Geolocation +description: Test your app and website across real devices and browsers with LambdaTest. + +keywords: + - change geolocation on real device + - LambdaTest geolocation testing + - simulate GPS location Browser + - simulate GPS location Google Chrome + - simulate GPS location Firefox + - real device location testing + - simulate GPS location + - test app in different countries + - framework on lambdatest + - Browser testing appium + - Browser testing + - real devices + - simulate GPS location Samsung Internet + - simulate GPS location Microsoft Edge + - simulate GPS location UC Browser Turbo + - simulate GPS location Opera + - simulate GPS location Yandex +url: https://www.lambdatest.com/support/docs/ip-geolocation-on-real-devices-browser/ +site_name: LambdaTest +slug: ip-geolocation-on-real-devices-browser/ +--- + +import CodeBlock from '@theme/CodeBlock'; +import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys"; + +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; + + + +Understanding how your website behaves across different geographies is essential for delivering a personalized and compliant user experience. Whether you're targeting region-specific pricing, content, or legal requirements, geolocation simulation is a critical part of cross-border testing. + +With LambdaTest’s Geolocation Change feature for Real Device Browsers, you can manually simulate a different country during a live browser testing session—on actual Android devices. This allows you to test how your mobile website responds to users from specific locations without using a VPN or emulator. + +## Update Geolocation for Real Devices on LambdaTest + +**Step 1:** Click on the **Real Devices** > **Browser Testing** + +**Step 2:** First, select the **web browser** you want to test on. Then, choose the real Android device you’d like to run the session on. + +**Step 3:** Once the session launches, open the **IP Geolocation** option from the top toolbar. + + + +**Step 4:** Use the search bar to find the country or location you want to simulate. Select the desired location from the results. + + + +## Supported Web Browsers + + IP Geolocation is available on below Browsers : + +| Browser | +|----------------------| +|Google Chrome| +|Firefox| +|Samsung Internet| +|Microsoft Edge| +|UC Browser Turbo| +|Opera| +|Yandex| + +--- + +## Supported Country + +You can simulate geolocation for the following countries in LambdaTest's Real Device Browser Testing. Set the geolocation [country code](/support/docs/appium-ip-geolocation/#supported-ip-geolocations) if you want to enable the same in your test. + +--- + +## Use Cases + +- Validate localized content like pricing, languages, or offers +- Test regional cookie consent banners or data privacy flows +- Verify geo-targeted ads and tracking scripts +- Check SEO rendering for different countries +- Compliance with local regulations or restrictions \ No newline at end of file diff --git a/docs/xcui-supported-capibilities.md b/docs/xcui-supported-capibilities.md index 38fa58380..fb60eecc9 100644 --- a/docs/xcui-supported-capibilities.md +++ b/docs/xcui-supported-capibilities.md @@ -59,7 +59,7 @@ This document provide details about the features and capabilities supported for | deviceLog | Boolean | To generate the device logs, pass the value as `deviceLog: true` | | network | String | To generate the network logs, pass the value as `network: true`. | | build | String | To set the Espresso build name. Example: `build: My Espresso Build`. | -| geoLocation | String | Set the geolocation country code if you want to enable the same in your test. Example: `geoLocation: FR`| +| geoLocation | String | Set the geolocation [country code](/support/docs/appium-ip-geolocation/#supported-ip-geolocations) if you want to enable the same in your test. Example: `geoLocation: FR`| | gpsLocation | Decimal | The capability should be defined to override the device’s default GPS coordinates and should be provided as a comma-separated string. Example: `"location": {"lat": "-50","long": "150.028333"}`.| | tunnel, tunnelName | Boolean | To activate the tunnel mode, pass the value as `tunnel: true` and provide the name of your tunnel as `tunnelName: NewTunnel` | | enableBluetooth | Boolean | Used to enable the bluetooth functionality during the session. Example: `enableBluetooth: true`| diff --git a/sidebars.js b/sidebars.js index fb90a9cc0..7cb222e19 100644 --- a/sidebars.js +++ b/sidebars.js @@ -1906,7 +1906,7 @@ module.exports = { type: "category", collapsed: true, label: "Features", - items: ["camera-image-injection-on-real-devices", "biometric-authentication-on-real-devices", "contacts-on-real-devices", "real-device-adb-shell", "ui-inspector", "screen-reader-on-real-devices-app", "accessibility-settings-ios"], + items: ["camera-image-injection-on-real-devices","ip-geolocation-on-real-devices-app", "biometric-authentication-on-real-devices", "contacts-on-real-devices", "real-device-adb-shell", "ui-inspector", "screen-reader-on-real-devices-app", "accessibility-settings-ios","devtools-on-real-devices-app"], }, ], }, @@ -1919,7 +1919,8 @@ module.exports = { items: [ "browser-testing-on-real-devices", "how-to-use-in-session-testing-tools", - "screen-reader-on-real-devices-browser" + "screen-reader-on-real-devices-browser", + "ip-geolocation-on-real-devices-browser" ], }, ], @@ -2580,6 +2581,7 @@ module.exports = { "supported-appium-versions", "supported-appium-plugins", "list-of-supported-locales", + //"appium-ip-geolocation", "supported-timezone", "app-testing-apis", "appium-lambdatest-hooks", @@ -2599,6 +2601,7 @@ module.exports = { "regular-expression-appium", "appium-upload-media", "app-auto-network-throttling", + "appium-ip-geolocation", "appium-app-performance", "appium-ios-app-settings", "ios-keychain-cleanup", @@ -2608,6 +2611,7 @@ module.exports = { "appium-custom-header", "basic-authentication-for-web-automation", "live-debug-in-app-automation", + ], }, { @@ -2776,6 +2780,11 @@ module.exports = { label: "Getting Started with Flutter iOS", id: "getting-started-with-flutter-dart-ios-automation", }, + { + type: "doc", + label: "Flutter Supported Capabilities", + id: "flutter-supported-capabilities", + }, ], ],