Does anybody know if waitforelementvisible() method can wait less than 1 second? I am
on the situation that I need for waiting for some elements to appear and then get data from those elements if the exists or are visible, otherwise…to continue the script
and the test continues the flow without failing like catching the error and continue.
Do you know wich is the better and fast way to to that?
The wait methods can, and will, wait for less than one second, assuming the condition is met in less than one second. The integer value that you pass to those methods is simply a timeout, in other words, the maximum time it will wait before moving on.
@Brandon_Hein im sorry . I want to wait less time than 1 second if the element is not visible and continue the script with another actions, so the question is how to achieve that, maybe is there another posibility with another method. I need to retrieve thousand of elemnts information so if the element is not visible in 1 second, im waiting to much time (1 second) for each element of the page and multiplied by more than thousand pages. Thats why the question. Thanks!