mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-01 05:49:40 +08:00
refactor: DriverSession
This commit is contained in:
@@ -52,7 +52,7 @@ func NewShootsAndroidDriver(device *uixt.AndroidDevice) (driver *ShootsAndroidDr
|
||||
}
|
||||
rawURL := fmt.Sprintf("http://forward-to-%d:%d",
|
||||
serverLocalPort, douyinServerPort)
|
||||
driver.Session.Init(rawURL)
|
||||
driver.Session.SetBaseURL(rawURL)
|
||||
|
||||
return driver, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user