docs(api.md): fix a typo (#2789)

This commit is contained in:
Vse Mozhet Byt 2018-06-21 20:37:07 +03:00 committed by Andrey Lushnikov
parent 3b20839ab5
commit 811415bc8c

View File

@ -1171,7 +1171,7 @@ The `page.goto` will throw an error if:
- the `timeout` is exceeded during navigation. - the `timeout` is exceeded during navigation.
- the main resource failed to load. - the main resource failed to load.
> **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** `page.goto` either throw or return a main resource response. The only exceptions are 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). > **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).