mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
refactor(driver): add DoubleTap and DoubleTapSelector to DeviceDriver
This commit is contained in:
1 parent
e2682b96e1
commit
757a41272a
1 file changed
+2
@@ -16,6 +16,8 @@ type DeviceDriver interface {
|
||||
|
||||
Tap(ctx context.Context, x, y int) error
|
||||
TapSelector(ctx context.Context, selector string) error
|
||||
DoubleTap(ctx context.Context, x, y int) error
|
||||
DoubleTapSelector(ctx context.Context, selector string) error
|
||||
InputText(ctx context.Context, text string) error
|
||||
Swipe(ctx context.Context, fromX, fromY, toX, toY int, duration time.Duration) error
|
||||
PressKey(ctx context.Context, key string) error
|
||||
|
||||
Reference in new issue
Block a user