Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[6.x] Dusk: waitUntilMissingText #5706

Merged
merged 2 commits into from
Jan 5, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions dusk.md
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,14 @@ The `waitForText` method may be used to wait until the given text is displayed o
// Wait a maximum of one second for the text...
$browser->waitForText('Hello World', 1);

You may use the `waitUntilMissingText` method to wait until the displayed text has been removed from the page:

// Wait a maximum of five seconds for the text to be removed...
$browser->waitUntilMissingText('Hello World');

// Wait a maximum of one second for the text to be removed...
$browser->waitUntilMissingText('Hello World', 1);

#### Waiting For Links

The `waitForLink` method may be used to wait until the given link text is displayed on the page:
Expand Down