mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-31 13:29:35 +08:00
feat: add GetForegroundApp for android
This commit is contained in:
@@ -623,6 +623,8 @@ type WebDriver interface {
|
||||
GetLastLaunchedApp() string
|
||||
// AssertAppForeground returns nil if the given package is in foreground
|
||||
AssertAppForeground(packageName string) error
|
||||
// GetForegroundApp returns current foreground app package name
|
||||
GetForegroundApp() (string, error)
|
||||
|
||||
// StartCamera Starts a new camera for recording
|
||||
StartCamera() error
|
||||
|
||||
Reference in New Issue
Block a user