mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-31 05:19:38 +08:00
feat: init device with optional serial, port, mjpeg port
This commit is contained in:
@@ -764,7 +764,7 @@ func (s *StepRequest) WebSocket() *StepWebSocket {
|
||||
|
||||
// Android creates a new android action
|
||||
func (s *StepRequest) Android() *StepAndroid {
|
||||
s.step.Android = &AndroidAction{}
|
||||
s.step.Android = &AndroidStep{}
|
||||
return &StepAndroid{
|
||||
step: s.step,
|
||||
}
|
||||
@@ -772,7 +772,7 @@ func (s *StepRequest) Android() *StepAndroid {
|
||||
|
||||
// IOS creates a new ios action
|
||||
func (s *StepRequest) IOS() *StepIOS {
|
||||
s.step.IOS = &IOSAction{}
|
||||
s.step.IOS = &IOSStep{}
|
||||
return &StepIOS{
|
||||
step: s.step,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user