feat(driver): add env param to Launch interface and all implementations

This commit is contained in:
pj committed 2026-04-23 17:33:19 +07:00
1 parent 3a6979a9db
commit f446439e33
6 files changed
+7 -6

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ import (
// lives under driver/sidecar; the web implementation under driver/chrome;
// tests use driver/mock.
type DeviceDriver interface {
Launch(ctx context.Context, bundleID string, clearState bool) error
Launch(ctx context.Context, bundleID string, clearState bool, env map[string]string) error
Terminate(ctx context.Context) error
Tap(ctx context.Context, x, y int) error