Answer the question
In order to leave comments, you need to log in
How to correctly handle a non-existent locator when testing?
Hello everyone
There is an element that is hidden during certain actions. The task is to check that it is missing.
I request an element along the X-path through try, if it does not exist, I return false and then I check. The problem is that try takes a very long time, which greatly slows down the speed of this test. How can you throw an error faster for this particular test?
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