Let’s say I want to save settings in my Chrome in Android.
Turn off suggested translations
Don’t block pop ups
Never ask for remembering the password
because in my tests all of those dialogs appear and break them.
I go to Chrome > Settings and I do all those changes. And while Im there they stay. As soon as I put appium to work in that device, all those changes are resetted to the default and all those dialogs appear again.
I used to have a similar issue with Chrome on Desktop + Selenium. When Chrome started there, the bookmarks, extensions, preferences, were gone, as soon as I go back to use the browser manually, everything was OK. The problem was that Selenium creates a new fresh profile every time. If otherwise wasn’t specified. So I found that you can tell selenium to use default profile (same as manual user) and you would be able to have the same config for Chrome.
However now, I set those settings, then tests run, none of my changes are applied but when I go back they are not there even for “my profile” is there a way to keep them? is this an appium issue? is this a browser issue? can I set them on appium previous to tests running? I just need to make this changes and I need them to stay
EDIT:
This is on a Lollipop Nexus 5 with Chrome 40.0.2214.109
Appium 1.3.6
Mac OSX 10.10.2
I don’t know what else could be relevant