fix: android by selector

This commit is contained in:
debugtalk
2022-10-25 17:34:52 +08:00
parent 5d4f6610e3
commit aa35fbf1ad
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
}