appium / appium-uiautomator2-driver

Appium driver for Android UIAutomator2
Apache License 2.0
607 stars 177 forks source link

[Question] Does anyone know how to get rid of Chrome push notifications popup before starting tests on Android Emulator #811

Open pawlakmaly opened 3 months ago

pawlakmaly commented 3 months ago

Hi all,

I want to get rid of this image Which is displayed displayed every time I restart/recreate my emulator in docker.

I was able to bypass the welcome screen using '--disable-fre' flag. I've tried different flags as well, but with any success.

Does any one know how to do dat using adb, capabilities or or any other method that requires clicking ?