mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-12 16:01:27 +08:00
refactor: merge Swipe and SwipeFloat
This commit is contained in:
@@ -818,7 +818,9 @@ func (dev *IOSDevice) NewStubDriver() (driver IWebDriver, err error) {
|
||||
fmt.Sprintf("forward tcp port failed: %v", err))
|
||||
}
|
||||
host := "localhost"
|
||||
stubDriver, err := newStubIOSDriver(fmt.Sprintf("http://%s:%d", host, localStubPort), fmt.Sprintf("http://%s:%d", host, localServerPort), dev)
|
||||
stubDriver, err := newStubIOSDriver(
|
||||
fmt.Sprintf("http://%s:%d", host, localStubPort),
|
||||
fmt.Sprintf("http://%s:%d", host, localServerPort), dev)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user