Skip to content

Commit

Permalink
docs: Add python example for swipeGesture (#814)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dor-bl authored Aug 15, 2024
1 parent bdddcd0 commit 76eef86
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/android-mobile-gestures.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,17 @@ Available since Appium v1.19
));
```

```python
# Python
driver.execute_script('mobile: swipeGesture', {
'left': 100,
'top': 100,
'width': 200,
'height': 200,
'direction': direction, 'percent': 0.75
})
```


### mobile: scrollGesture

Expand Down

0 comments on commit 76eef86

Please sign in to comment.