Skip to content

Commit

Permalink
docs(api.md): mention header/footer template limitations in `page.pdf…
Browse files Browse the repository at this point in the history
…`. (#2341)

References #2167.
  • Loading branch information
aslushnikov committed Apr 10, 2018
1 parent c5902de commit 2b95774
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/api.md
Expand Up @@ -1117,6 +1117,10 @@ The `format` options are:
- `A5`: 5.83in x 8.27in
- `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)
- `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.
Expand Down

0 comments on commit 2b95774

Please sign in to comment.