fix: android by selector

This commit is contained in:
debugtalk
2022-10-25 17:34:52 +08:00
parent 7f4c3ae248
commit aa966123bc
6 changed files with 12 additions and 41 deletions

View File

@@ -319,8 +319,8 @@ func (opt AppLaunchOption) WithEnvironment(env map[string]string) AppLaunchOptio
return opt
}
func (opt AppLaunchOption) WithAndroidBySelector(waitForComplete ...AndroidBySelector) AppLaunchOption {
opt["androidBySelector"] = waitForComplete
func (opt AppLaunchOption) WithBySelector(bySelector ...BySelector) AppLaunchOption {
opt["bySelector"] = bySelector
return opt
}