Skip to content
This repository was archived by the owner on Nov 24, 2018. It is now read-only.

Commit

Permalink
docs: hopefully-temporary note about .pdf() needingheadless mode
Browse files Browse the repository at this point in the history
  • Loading branch information
adieuadieu committed Aug 2, 2017
1 parent df46e72 commit 9b21578
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,9 @@ Print to a PDF of the document as framed by the viewport.
When running Chromeless locally this returns the local file path to the PDF.
When run over the Chromeless Proxy service, a URL to the PDF on S3 is returned.

Requires that Chrome be running headless-ly. [More](https://github.com/graphcool/chromeless/issues/146)


__Arguments__
- `options` - An object containing overrides for [printToPDF() parameters](https://chromedevtools.github.io/devtools-protocol/tot/Page/#method-printToPDF)

Expand Down

0 comments on commit 9b21578

Please sign in to comment.