feat(driver): add TapSelector and make mock WaitForIdle honor duration

Real maestro driver will resolve selectors itself rather than
forcing the runner to look up coordinates from the hierarchy. Mock
now waits the requested duration so tests don't busy-spin and
starve the SDK fixture goroutine.
This commit is contained in:
pj committed 2026-04-17 23:54:00 +07:00
1 parent abeded0b19
commit d2fae427f9
2 files changed
+22 -1

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ type Driver interface {
Terminate(ctx context.Context) error
Tap(ctx context.Context, x, y int) error
TapSelector(ctx context.Context, selector string) error
InputText(ctx context.Context, text string) error
Hierarchy(ctx context.Context) (string, error)