Skip to content

Commit 76eef86

Browse files
authored
docs: Add python example for swipeGesture (#814)
1 parent bdddcd0 commit 76eef86

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docs/android-mobile-gestures.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,17 @@ Available since Appium v1.19
279279
));
280280
```
281281

282+
```python
283+
# Python
284+
driver.execute_script('mobile: swipeGesture', {
285+
'left': 100,
286+
'top': 100,
287+
'width': 200,
288+
'height': 200,
289+
'direction': direction, 'percent': 0.75
290+
})
291+
```
292+
282293

283294
### mobile: scrollGesture
284295

0 commit comments

Comments
 (0)