Answer the question
In order to leave comments, you need to log in
Where does it come from and how to bypass displayed:false in a React application when receiving an element through Selenide?
Hello.
I have a react application for which I am writing tests, and I ran into such a problem.
When I try to get an element through Selenide (ex $("elem")), I get back an element with the displayed:false attribute.
When trying to interact with such an element, Selenide swears that the element is invisible.
At the same time, this element does not have such an attribute in the browser, and everything is rendered perfectly.
Returned element example:
<button class="button button_size_m button_width_available" data-test-id="google-play-btn" role="button" type="button" value displayed:false></button>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question