Skip to content

Commit

Permalink
docs(api.md): update note about page.goto() returned value (#2787)
Browse files Browse the repository at this point in the history
Fixes: #2765
  • Loading branch information
vsemozhetbyt authored and aslushnikov committed Jun 21, 2018
1 parent a460114 commit 3b20839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ The `page.goto` will throw an error if:
- the `timeout` is exceeded during navigation.
- the main resource failed to load.

> **NOTE** `page.goto` either throw or return a main resource response. The only exception is navigation to `about:blank`, which would succeed and return `null`.
> **NOTE** `page.goto` either throw or return a main resource response. The only exceptions is navigation to `about:blank` or navigation to the same URL with a different hash, which would succeed and return `null`.
> **NOTE** Headless mode doesn't support navigating to a PDF document. See the [upstream issue](https://bugs.chromium.org/p/chromium/issues/detail?id=761295).
Expand Down

0 comments on commit 3b20839

Please sign in to comment.