mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-11 18:11:21 +08:00
fix: web ui test
This commit is contained in:
@@ -791,6 +791,17 @@ func (s *StepRequest) Harmony(opts ...option.HarmonyDeviceOption) *StepMobile {
|
||||
}
|
||||
}
|
||||
|
||||
// Browser creates a new browser step session
|
||||
func (s *StepRequest) Browser(opts ...option.BrowserDeviceOption) *StepMobile {
|
||||
browserOptions := option.NewBrowserDeviceOptions(opts...)
|
||||
return &StepMobile{
|
||||
StepConfig: s.StepConfig,
|
||||
Browser: &MobileUI{
|
||||
Serial: browserOptions.BrowserID,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
// Shell creates a new shell step session
|
||||
func (s *StepRequest) Shell(content string) *StepShell {
|
||||
return &StepShell{
|
||||
|
||||
Reference in New Issue
Block a user