fix: fix rotate tap swipe error

This commit is contained in:
余泓铮
2024-03-19 14:44:22 +08:00
parent 4979d4e1e2
commit 9f7795f703
6 changed files with 76 additions and 10 deletions

View File

@@ -537,6 +537,8 @@ type WebDriver interface {
// StopCamera Stops the camera for recording
StopCamera() error
Orientation() (orientation Orientation, err error)
// Tap Sends a tap event at the coordinate.
Tap(x, y int, options ...ActionOption) error
TapFloat(x, y float64, options ...ActionOption) error