feat: app launch and terminate

This commit is contained in:
debugtalk
2022-07-29 18:09:18 +08:00
parent 6613025695
commit f158d1e05a
4 changed files with 84 additions and 35 deletions

View File

@@ -136,14 +136,6 @@ func (s *StepAndroid) Input(text string) *StepAndroid {
return &StepAndroid{step: s.step}
}
func (s *StepAndroid) StartAppByClick(name string) *StepAndroid {
s.step.Android.Actions = append(s.step.Android.Actions, MobileAction{
Method: appClick,
Params: name,
})
return &StepAndroid{step: s.step}
}
// Validate switches to step validation.
func (s *StepAndroid) Validate() *StepAndroidValidation {
return &StepAndroidValidation{