feat(driver): add Driver.long_press on WDA and Android
This commit is contained in:
@@ -51,6 +51,9 @@ class FakeDriver(Driver):
|
||||
def tap(self, x: float, y: float) -> None:
|
||||
self.calls.append(("tap", (x, y)))
|
||||
|
||||
def long_press(self, x: float, y: float, duration_ms: int = 1200) -> None:
|
||||
self.calls.append(("long_press", (x, y, duration_ms)))
|
||||
|
||||
def swipe(
|
||||
self,
|
||||
start_x: float,
|
||||
|
||||
Reference in New Issue
Block a user