Document headless mode restriction for PDF (#836)

Fixes: https://github.com/GoogleChrome/puppeteer/issues/830
This commit is contained in:
Vse Mozhet Byt 2017-09-21 02:51:25 +03:00 committed by Eric Bidelman
parent 611f51bda5
commit 715296443c

View File

@ -608,6 +608,7 @@ The `page.goto` will throw an error if:
> **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** Headless mode doesn't support navigating to a PDF document. See the [upstream issue](https://bugs.chromium.org/p/chromium/issues/detail?id=761295).
#### page.hover(selector)
- `selector` <[string]> A [selector] to search for element to hover. If there are multiple elements satisfying the selector, the first will be hovered.