mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 19:17:10 +00:00
feat(driver): add LongPress to DeviceDriver interface
This commit is contained in:
1 parent
1ffca2e560
commit
55352f72c5
1 file changed
+1
@@ -19,6 +19,7 @@ type DeviceDriver interface {
|
||||
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
|
||||
LongPress(ctx context.Context, x, y int) error
|
||||
|
||||
Hierarchy(ctx context.Context) (string, error)
|
||||
Screenshot(ctx context.Context) (Image, error)
|
||||
|
||||
Reference in new issue
Block a user