diff --git a/maestro-client/src/main/java/maestro/drivers/AndroidDriver.kt b/maestro-client/src/main/java/maestro/drivers/AndroidDriver.kt index cd23477a80..3f6dd4af25 100644 --- a/maestro-client/src/main/java/maestro/drivers/AndroidDriver.kt +++ b/maestro-client/src/main/java/maestro/drivers/AndroidDriver.kt @@ -578,6 +578,14 @@ class AndroidDriver( // Welcome to Chrome screen "Add account to device" filterById("$chrome:id/signin_fre_dismiss_button")?.let { tap(it.bounds.center()) } waitForAppToSettle(null, null) + // Ad privacy feature + filterById("$chrome:id/more_button")?.let { tap(it.bounds.center()) } + filterById("$chrome:id/no_button")?.let { tap(it.bounds.center()) } + waitForAppToSettle(null, null) + // Other ad privacy feature + filterById("$chrome:id/more_button")?.let { tap(it.bounds.center()) } + filterById("$chrome:id/ack_button")?.let { tap(it.bounds.center()) } + waitForAppToSettle(null, null) // Turn on Sync screen filterById("$chrome:id/negative_button")?.let { tap(it.bounds.center()) } waitForAppToSettle(null, null)