mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-27 19:30:20 +08:00
refactor: assert device UI
This commit is contained in:
@@ -495,6 +495,8 @@ type WebDriver interface {
|
||||
AssertAppForeground(packageName string) error
|
||||
// GetForegroundApp returns current foreground app package name and activity name
|
||||
GetForegroundApp() (app AppInfo, err error)
|
||||
// AssertUI returns nil if the given package and activity are in foreground
|
||||
AssertUI(packageName, activityType string) error
|
||||
|
||||
// StartCamera Starts a new camera for recording
|
||||
StartCamera() error
|
||||
|
||||
Reference in New Issue
Block a user