mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-29 17:57:20 +08:00
fix: setup device and driver
This commit is contained in:
@@ -33,6 +33,10 @@ func NewADBDriver(device *AndroidDevice) (*ADBDriver, error) {
|
||||
Device: device,
|
||||
Session: NewDriverSession(),
|
||||
}
|
||||
// setup driver
|
||||
if err := driver.Setup(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return driver, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user