Skip to content

Conversation

@pavelfeldman
Copy link
Member

@pavelfeldman pavelfeldman commented Apr 20, 2020

Fixes #1873

@pavelfeldman pavelfeldman force-pushed the ni2 branch 2 times, most recently from 2a3e09e to 3e4e17e Compare April 20, 2020 20:38
docs/api.md Outdated
- `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