mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs(api.md): mention header/footer template limitations in page.pdf
. (#2341)
References #2167.
This commit is contained in:
parent
c5902de5d8
commit
2b95774af9
@ -1117,6 +1117,10 @@ The `format` options are:
|
|||||||
- `A5`: 5.83in x 8.27in
|
- `A5`: 5.83in x 8.27in
|
||||||
- `A6`: 4.13in x 5.83in
|
- `A6`: 4.13in x 5.83in
|
||||||
|
|
||||||
|
> **NOTE** `headerTemplate` and `footerTemplate` markup have the following limitations:
|
||||||
|
> 1. Script tags inside templates are not evaluated.
|
||||||
|
> 2. Page styles are not visible inside templates.
|
||||||
|
|
||||||
#### page.queryObjects(prototypeHandle)
|
#### page.queryObjects(prototypeHandle)
|
||||||
- `prototypeHandle` <[JSHandle]> A handle to the object prototype.
|
- `prototypeHandle` <[JSHandle]> A handle to the object prototype.
|
||||||
- returns: <[Promise]<[JSHandle]>> Promise which resolves to a handle to an array of objects with this prototype.
|
- returns: <[Promise]<[JSHandle]>> Promise which resolves to a handle to an array of objects with this prototype.
|
||||||
|
Loading…
Reference in New Issue
Block a user