mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-25 18:30:04 +08:00
fix: ScreenCap call RunShellCommandWithBytes
This commit is contained in:
@@ -572,5 +572,5 @@ func (d *Device) Uninstall(packageName string, keepData ...bool) (string, error)
|
||||
}
|
||||
|
||||
func (d *Device) ScreenCap() ([]byte, error) {
|
||||
return d.RunShellCommandV2WithBytes("screencap", "-p")
|
||||
return d.RunShellCommandWithBytes("screencap", "-p")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user