mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-14 11:17:35 +08:00
fix: ScreenCap call RunShellCommandWithBytes
This commit is contained in:
@@ -1 +1 @@
|
||||
v4.3.3.2023041419
|
||||
v4.3.3.2023041421
|
||||
@@ -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