Correct Answer: Yes
For this question, i dont know why Selenium interact with hidden elements. We cannot click some elements that have attribute “hidden” or “visible”???
Hi Thanh.Lq178,
A hidden element is an element that exists on the DOM but is not visible to the user. Selenium can still interact with these elements to read and evaluate their various attributes for example. In some cases, Selenium can even click on hidden elements using JavascriptExecutor (https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/JavascriptExecutor.html).
Can Selenium interact with hidden elements?
Your Answer: No
Correct Answer: Yes
For this question, i dont know why Selenium interact with hidden elements. We cannot click some elements that have attribute “hidden” or “visible”???
Hi Thanh.Lq178,
A hidden element is an element that exists on the DOM but is not visible to the user. Selenium can still interact with these elements to read and evaluate their various attributes for example. In some cases, Selenium can even click on hidden elements using JavascriptExecutor (https://seleniumhq.github.io/selenium/docs/api/java/org/openqa/selenium/JavascriptExecutor.html).