Skip to content

Commit 6c99a59

Browse files
authored
Merge pull request #2310 from sakshamarora-arch/stage
Updated documentation
2 parents b19632a + b761f1f commit 6c99a59

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

docs/gesture-support-ios.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import Tabs from '@theme/Tabs';
2020
import TabItem from '@theme/TabItem';
2121

2222
# iOS Gestures on Real Devices
23-
When testing iOS apps on **LambdaTest Real Devices**, certain native gestures like double‑tap, triple‑tap, or multi‑finger interactions may be required to complete test flows — especially accessibility, wallet testing, or complex UI interactions.
23+
When testing iOS apps on **LambdaTest Real Devices**, certain native gestures like double‑tap, triple‑tap, or multi‑finger interactions may be required to complete test flows.
2424

2525
To make this easier, LambdaTest provides keyboard shortcuts that simulate these **gestures** without needing physical multi‑touch input. These shortcuts work on both **macOS** and **Windows**, allowing you to trigger gestures instantly during manual sessions.
2626

docs/list-of-supported-locales.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,4 +247,25 @@ Locale to be passed in the capability - locale: 'fr_FR' where fr is language cod
247247
| Mexico | es-MX |
248248
| South Africa | en-ZA |
249249

250+
251+
### Enabling Locales and Language via Hook
252+
To **dynamically change** the language and locale of a device during test execution use the `updateLanguageLocale` action inside `lambda_executor`.The example below demonstrates how to use the following.
253+
254+
```python
255+
driver.execute_script('lambda_executor: {
256+
"action": "updateLanguageLocale",
257+
"arguments": {
258+
"language" : "<language-code>" ,
259+
"locale" : "<locale-code>" ,
260+
}
261+
}')
262+
```
263+
:::info
264+
- **iOS**: Supported on devices running iOS 14 and above.
265+
- **Android**: Supported on devices running Android 11 and above.
266+
- Both language and locale are required parameters. If either one is missing, the hook will return an error
267+
:::
268+
269+
270+
250271
> That's all! In case you come across any doubts or have any questions for us, feel free to drop them at our <span className="doc__lt" onClick={() => window.openLTChatWidget()}>**24x7 Chat Support**</span> or you could also mail us directly at **[support@lambdatest.com](mailto:support@lambdatest.com)**.

0 commit comments

Comments
 (0)