feat: add AssertForegroundApp for ios

This commit is contained in:
lilong.129
2024-11-23 21:49:17 +08:00
parent ec508012a9
commit 270180603c
4 changed files with 32 additions and 6 deletions
+9
View File
@@ -435,6 +435,15 @@ func Test_remoteWD_Source(t *testing.T) {
fmt.Println(source)
}
func TestGetForegroundApp(t *testing.T) {
setup(t)
app, err := driver.GetForegroundApp()
if err != nil {
t.Fatal(err)
}
t.Log(app)
}
func Test_remoteWD_AccessibleSource(t *testing.T) {
setup(t)