ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

Unable to dismiss save password bubble - chrome for Android #1015

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Issue Description:
On trying to use ChromeOptions for Android chrome, I tried to use 
"--disable-save-password-bubble" and "--enable-automatic-password-saving" but 
in spite of using both of them, I can still see the password bubble.

Android version is 4.3 and device chrome version is 39.0.2171.93, chromedriver 
version is 2.13

Steps to reproduce (if relevant, you MUST provide a simplified html page or
link to public site):

1. Connect an Android device and run the adb server
2. Run chromedriver.exe latest version (v2.13.307647)
3. Execute the below Java code

DesiredCapabilities capabilities = new DesiredCapabilities();
ChromeOptions chromeOptions = new ChromeOptions();
chromeOptions.setExperimentalOption("androidPackage", "com.android.chrome");
chromeOptions.addArguments("--disable-save-password-bubble");
capabilities.setCapability(ChromeOptions.CAPABILITY, chromeOptions);
RemoteWebDriver driver = new RemoteWebDriver(new URL("http://127.0.0.1:9515" 
capabilities);
driver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);
//Then go to gmail.com and try logging in

4. I see prompt to save password but I should not see because I have added 
"--disable-save-password-bubble" option in the chromeOptions.

-----Other helpful tips:

Original issue reported on code.google.com by surat....@gmail.com on 11 Jan 2015 at 9:37

GoogleCodeExporter commented 9 years ago
I am also seeing same issue. Were you able to figure it out?

Original comment by manjiri....@gmail.com on 13 Jan 2015 at 11:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Ran your codes. Not sure what you mean "password bubble".
It shows  only two boxes - user name and  password.  - looks normal to me.
can you provide screen shot?

Original comment by andrewch...@chromium.org on 11 Feb 2015 at 8:09

GoogleCodeExporter commented 9 years ago
Please find the screenshot in which I refer to as "password bubble" which I 
don't expect to get. This is seen after I do following in Android real device 
chrome.
        driver.get("https://gmail.com");
        driver.findElement(By.id("Email")).sendKeys("<username>");
        driver.findElement(By.id("Passwd")).sendKeys("<password>");
        driver.findElement(By.id("signIn")).click();

Original comment by surat....@gmail.com on 11 Feb 2015 at 10:22

Attachments:

GoogleCodeExporter commented 9 years ago
will see this after login successfully.
--disable-save-password-bubble   seems not working.

Original comment by andrewch...@chromium.org on 12 Feb 2015 at 2:28

GoogleCodeExporter commented 9 years ago
Chrome will not take switch --disable-save-password-bubble  
In the future,  we will have chromedriver implement --user-data-dir
so that you can save your custom profile by turning off Chrome browser password 
saved through setting.  

Original comment by andrewch...@chromium.org on 12 Feb 2015 at 10:35

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:19