mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-02 06:19:34 +08:00
fix: update interface of recording adb logs
This commit is contained in:
@@ -68,7 +68,10 @@ func InitUIAClient(device *AndroidDevice) (*DriverExt, error) {
|
||||
}
|
||||
|
||||
if device.LogOn {
|
||||
err = driverExt.StartLogRecording("hrp_adb_log")
|
||||
err = driverExt.Driver.StartCaptureLog("hrp_adb_log")
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
return driverExt, err
|
||||
|
||||
Reference in New Issue
Block a user