You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have no idea, but lately I've been noticing a lot of flakiness with waitForSelector() with its default for waitFor. As in the above case, as the default is waitFor: 'attached', attached surely needs to happen for visible to occur. Still the default does not work. It times out waiting for the element.
The text was updated successfully, but these errors were encountered:
thernstig
changed the title
[BUG] page.waitForSelector() not working consistently
[BUG] page.waitForSelector() and waitFor: 'attached' not working properly
Apr 29, 2020
Looking at the code, there is a difference: attached defaults to "poll on mutations", while visible defaults to "poll on rafs". I'll look into fixing this.
Context:
Code Snippet
Here is the JSPath to the selector:
Describe the bug
I have no idea, but lately I've been noticing a lot of flakiness with
waitForSelector()
with its default forwaitFor
. As in the above case, as the default iswaitFor: 'attached'
, attached surely needs to happen forvisible
to occur. Still the default does not work. It times out waiting for the element.The text was updated successfully, but these errors were encountered: