feat: add GetForegroundApp for android

This commit is contained in:
lilong.129
2023-04-28 16:59:02 +08:00
parent 6067d5ddbd
commit 8498fe10e3
5 changed files with 39 additions and 20 deletions

View File

@@ -373,6 +373,10 @@ func (wd *wdaDriver) AssertAppForeground(packageName string) error {
return nil
}
func (wd *wdaDriver) GetForegroundApp() (string, error) {
return "", nil
}
func (wd *wdaDriver) Tap(x, y int, options ...DataOption) error {
return wd.TapFloat(float64(x), float64(y), options...)
}