-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
api(networkidle): remove networkidle2 #1883
Conversation
2a3e09e
to
3e4e17e
Compare
docs/api.md
Outdated
@@ -1242,11 +1242,10 @@ Returns frame matching the specified criteria. Either `name` or `url` must be sp | |||
#### page.goBack([options]) | |||
- `options` <[Object]> Navigation parameters which might have the following properties: | |||
- `timeout` <[number]> Maximum navigation time in milliseconds, defaults to 30 seconds, pass `0` to disable timeout. The default value can be changed by using the [browserContext.setDefaultNavigationTimeout(timeout)](#browsercontextsetdefaultnavigationtimeouttimeout), [browserContext.setDefaultTimeout(timeout)](#browsercontextsetdefaulttimeouttimeout), [page.setDefaultNavigationTimeout(timeout)](#pagesetdefaultnavigationtimeouttimeout) or [page.setDefaultTimeout(timeout)](#pagesetdefaulttimeouttimeout) methods. | |||
- `waitUntil` <"load"|"domcontentloaded"|"networkidle0"|"networkidle2"> When to consider navigation succeeded, defaults to `load`. Events can be either: | |||
- `waitUntil` <"load"|"domcontentloaded"|"networkidle0"> When to consider navigation succeeded, defaults to `load`. Events can be either: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is networkidle0
here and networkidle
below.
docs/ci.md
Outdated
@@ -1,16 +1,19 @@ | |||
# Getting started on CI | |||
# Continuous integration.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove .md
:)
docs/core-concepts.md
Outdated
// Explicit text notation | ||
await page.click('text="Login"'); | ||
```js | ||
await page.click('css=article >> css=.bar > .baz >> css=span[attr=value]'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More realistic example is #free-month-promo >> text=Learn more
Fixes #1873