How disable save password popup in chrome browser using Selenium.



Whenever users log in with their credentials it displays a popup alert for saving their credentials.

 In Chrome Browser login with credentials, it displays one popup near the address bar.  Manually we can uncheck to disable the popup.

but in this post, we will see how we can disable this popup dialog with help of Chrome Options  


we use this preferences for disable 

prefs.put("credentials_enable_service", false);                                          prefs.put("profile.password_manager_enabled", false);


Here is the brief implementation code 




Note: All the URL and path, Images is for reference purpose only. do not misuse. 




Comments

Popular posts from this blog

Test cases for Dashboard

Test case for OTP Verification.

Test Cases for Payment Gateway.