Skip to content

Commit 7152964

Browse files
vsemozhetbytebidel
authored andcommitted
Document headless mode restriction for PDF (puppeteer#836)
Fixes: puppeteer#830
1 parent 611f51b commit 7152964

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,7 @@ The `page.goto` will throw an error if:
608608

609609
> **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`.
610610
611+
> **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).
611612
612613
#### page.hover(selector)
613614
- `selector` <[string]> A [selector] to search for element to hover. If there are multiple elements satisfying the selector, the first will be hovered.

0 commit comments

Comments
 (0)