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 }}
This repository was archived by the owner on Jan 9, 2025. It is now read-only.
I want, if .some-selector appears on the page in next 1 second to get true, and if not - get false. But it does not wait a second and returns right away with false.
It seems that
wait()does not work, or I expect different behavior. I could not find any docs for browser.wait method in Zombie.So... I expect when I do
$session->wait(10000);php script to "sleep" for 10 seconds and then resume. But it does not happen. Am I missing something?My use case is exactly as comment in Mink wait method - "Waits some time or until JS condition turns true." And I have it like that:
I want, if
.some-selectorappears on the page in next 1 second to get true, and if not - get false. But it does not wait a second and returns right away with false.