Ask Your Question
4

Can dropdown values in Selenium be selected even when they are hidden and only made visible after being clicked?

asked 2023-05-20 20:25:19 +0000

devzero gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-20 20:37:02 +0000

ladyg gravatar image

No, dropdown values in Selenium cannot be selected if they are hidden and only made visible after being clicked unless the click event triggers the dropdown values to become visible before selecting the desired value. In this case, the dropdown values must become visible before you can select the desired value. Selenium cannot interact with hidden elements unless they are made visible first.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-20 20:25:19 +0000

Seen: 10 times

Last updated: May 20 '23