Lukus
unread,Dec 29, 2011, 8:02:37 PM12/29/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Selenium Developers
I would suggest to the selenium team to have an option for turning
this off through DesiredCapabilities or some other method.
Currently, f you are using selenium for automation on android and have
a test that checks for logins on a page, then surely you have noticed
this. Disabling saved passwords for the actual Android Browser does
not affect the WebDriver. I suppose in the case where you are only
testing a website or two you can just click "remember" or "never" and
it won't appear again. For those of us that can't control the site
and are running this programmatically, I found a dirty work-around:
The Back key on Android acts like an Esc key on a desktop and just
ignores this pop up, allowing the script to continue. To do this in
an automated way, you can use:
adb shell input keycode KEYCODE_BACK
Actually that keycode is "4", and had to use the actual number to get
it to work. Ugly, but works until find a way to turn this prompting
off.