feat(driver): add Driver.double_tap via W3C actions

This commit is contained in:
2026-07-15 19:12:10 +08:00
parent c25ccb491d
commit 8a73edf4db
8 changed files with 51 additions and 0 deletions
+4
View File
@@ -51,6 +51,10 @@ class Driver(ABC):
) -> None:
"""Swipe through a sequence of waypoints in one continuous touch."""
@abstractmethod
def double_tap(self, x: float, y: float, interval_ms: int = 80) -> None:
"""Tap twice at the given coordinates with ``interval_ms`` between."""
@abstractmethod
def input(self, text: str) -> None:
"""Input text into the current focused field."""