My env is OS X running protractor with appium and an Android emulator. The tests run fine but I am finding myself unable to do anything but manually click the welcome modal. I've used at least one to two pages of suggestions on 10 hours of semi-creative googling. I'm hoping most answers are just outdated.
I'm trying to run some automated tests and the "Welcome to Chrome" pop up is being rather troublesome. I've attempted to add flags to skip it with adb shell --no-first-run and --disable-fre but neither of the flags actually got set.
My env is OS X running protractor with appium and an Android emulator. The tests run fine but I am finding myself unable to do anything but manually click the welcome modal. I've used at least one to two pages of suggestions on 10 hours of semi-creative googling. I'm hoping most answers are just outdated.
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev+unsubscribe@chromium.org.
[100%] /data/local/tmp/com.android.chrome_53.0.2785.124-278512411_minAPI21x86nodpi_apkmirror.com.apk
pkg: /data/local/tmp/com.android.chrome_53.0.2785.124-278512411_minAPI21x86nodpi_apkmirror.com.apk
Is the message I got from I added chrome to my Galaxy Nexus with Android 6.0.
However the adb shell commands did not work.
How do I check which one I am supposed to be using? I tried all three.
☆PhistucK
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
You should write the command line to /data/local/tmp instead which isn't blocked by selinux. There's a bug open about switching this over completely in all scripts and docs but we haven't quite sorted it yet.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/b7886020-fb3a-4876-8fbe-ebe53b25d752%40chromium.org.
String context = driver.getContext(); // = "CHROMIUM"
driver.context("NATIVE_APP");
driver.findElement(By.id("com.android.chrome:id/terms_accept")).click();
driver.findElement(By.id("com.android.chrome:id/negative_button")).click();
driver.context(context);