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

api(networkidle): remove networkidle2 #1883

Merged
merged 1 commit into from Apr 20, 2020

Conversation

pavelfeldman
Copy link
Member

@pavelfeldman pavelfeldman commented Apr 20, 2020

Fixes #1873

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:
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove .md :)

// Explicit text notation
await page.click('text="Login"');
```js
await page.click('css=article >> css=.bar > .baz >> css=span[attr=value]');
Copy link
Contributor

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

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.

[BUG] remove networkidle2, rename networkidle0 to networkidle
2 participants