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
{{ message }}
Repository navigation
What is the purpose of navigation awaiting in Page.command method? #450
# Wait a bit after command and check if iteration has
# changed which means there was some network event for
# the main frame and it started to load new content.
@event.wait(wait)
ifiteration != @event.iteration
set=@event.wait(timeout)
raiseTimeoutErrorunlessset
end
end
I see that wait param passed in go_to method and some methods related to mouse events.
So basically it means if I click on element and navigation happens after down event, the click will fail if navigation doesn't finish within timeout despite the click was successful and led to navigation.
Shouldn't be this "wait for navigation" logic controlled by client and not included in mouse class?
Activity
route commentedon Mar 15, 2024
Please consider Discussion for all kind of questions, issues should not be used like that