How to click elements hidden by list and dropdown ,and how to handle chrome password notification

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to click elements hidden by list and dropdown ,and how to handle chrome password notification

Ankit Chawhan

Hi 

     I am attaching screenshot of doubts i have two problems i have highlighted both the problem in screenshot

1. i want to close password alert which is coming i am not able to handle it.kindly help i am also confused if its a javascript pop or windows alert ?kindly explain

2. i selected new user story from dropdown and under the dropdown(version) there is save button which i want to click ,but due to dropdown i am not able to click the button kindly help

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/1a43616c-f1a8-4859-b178-059e29930de3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Selenium D.png (205K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to click elements hidden by list and dropdown ,and how to handle chrome password notification

thivyae
Hi,
For first point,Try the below code to prevent google from storing passwords and hence you will get rid of the password pop up.
For second point,please share the respective DOM content for the objects 
Map<String, Object> prefs = new HashMap<String, Object>();
prefs.put("credentials_enable_service", false);
ChromeOptions options = new ChromeOptions();
options.setExperimentalOption("prefs", prefs);
driver = new ChromeDriver(options);

On Tuesday, May 9, 2017 at 10:08:25 PM UTC+5:30, Ankit Chawhan wrote:

Hi 

     I am attaching screenshot of doubts i have two problems i have highlighted both the problem in screenshot

1. i want to close password alert which is coming i am not able to handle it.kindly help i am also confused if its a javascript pop or windows alert ?kindly explain

2. i selected new user story from dropdown and under the dropdown(version) there is save button which i want to click ,but due to dropdown i am not able to click the button kindly help

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b5cbecb0-b243-425a-8dbe-b1d79236fbb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...