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

docs: add java snippets to the examples in guides #5638

Merged
merged 2 commits into from
Mar 1, 2021

Conversation

yury-s
Copy link
Member

@yury-s yury-s commented Feb 26, 2021

No description provided.

// Using waitForNavigation with a callback prevents a race condition
// between clicking and waiting for a navigation.
page.waitForNavigation(() -> { // Waits for the next navigation
page.click("a"); // Triggers a navigation after a timeout
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove "aftter a timeout"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it'd make the example useless as waitForNavigation would be redundant. I'll update the snippet separately for all langs

docs/src/network.md Outdated Show resolved Hide resolved
@yury-s yury-s merged commit 6c9e806 into microsoft:master Mar 1, 2021
@yury-s yury-s deleted the guides-snippets branch March 1, 2021 17:18
yury-s added a commit to yury-s/playwright that referenced this pull request Mar 1, 2021
yury-s added a commit to yury-s/playwright that referenced this pull request Mar 1, 2021
yury-s added a commit that referenced this pull request Mar 1, 2021
…#5638) (#5660)

* docs: more clarity in the attribute selectors (#5621)
* docs: add java snippets to the examples in guides (#5638)
* docs: docs typos (#5658)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants