mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-19 21:19:30 +08:00
feat: device新增截图方法
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package uixt
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
"github.com/httprunner/httprunner/v5/pkg/uixt/option"
|
||||
"github.com/httprunner/httprunner/v5/pkg/uixt/types"
|
||||
)
|
||||
@@ -17,7 +18,7 @@ type IDevice interface {
|
||||
Uninstall(packageName string) error
|
||||
|
||||
GetPackageInfo(packageName string) (types.AppInfo, error)
|
||||
|
||||
ScreenShot() (*bytes.Buffer, error)
|
||||
// TODO: remove?
|
||||
LogEnabled() bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user