Hi,
Even if the element in the web page is not displayed, boolean flag set to Element Exists keyword always returns true. Is there a solution to find element in the web page?
Thanks in advance,
Vyshali
Hi,
Even if the element in the web page is not displayed, boolean flag set to Element Exists keyword always returns true. Is there a solution to find element in the web page?
Thanks in advance,
Vyshali
It is possible that the element exists but is just made not visible on screen.
You will have to build a selector
that takes the element and its visibility into consideration to get desired results.
Additionally, you can also try find element
and then get its attributes to determine if it’s visible as well.
If the “Element exists” activity always returns true, you may use the “Get attribute” to get the visibility attribute to determine if the element is visible or not.