Questions tagged [waits]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
2answers
59 views

Selenium WebDriver - should explicit waits be held in the test method or within the page object?

As the question title says: If you're putting a test together and you need to wait for an item to be displayed (as an example), is it best to put the explicit wait within the test or against the page? ...
3
votes
2answers
58 views

How to wait for gettext not to be empty for an element

I want to make sure the getText returns a non-empty string before continuing the program flow. I have tried : var EC = protractor.ExpectedConditions; await browser.wait(EC.not(EC....
3
votes
2answers
125 views

Nested explicit wait does not work in Appium

For example, I'm sending a message. While it's being sent to the recipient it has the resource-id "pending_indicator". When it is delivered, it has the resource-id "delivered_indicator". So, I'm ...
0
votes
3answers
320 views

Selenium Implicit wait and Explicit Wait. does it really go on a loop and check for elements

I implemented a loop with a counter to check elements are found repeatedly until 5 seconds or whatever Time I set. Why because I knew for one that selenium still has to poll/Scan the dom to find the ...
-1
votes
2answers
4k views

How to wait for JavaScript scroll action to finish in selenium?

I've come across an interesting problem while automating our web application using selenium webdriver. I'm waiting for page load and all the ajax call to finish but the application use JavaScript ...
1
vote
4answers
7k views

selenium.NoSuchElementException: Unable to locate element: #passwordNext

Error: Exception in thread "main" org.openqa.selenium.NoSuchElementException: Unable to locate element: #passwordNext For documentation on this error, please visit: http://seleniumhq.org/exceptions/...