Open
Bug 1549479
Opened 6 years ago
Updated 2 years ago
[meta] Page.printToPDF
Categories
(Remote Protocol :: CDP, task)
Remote Protocol
CDP
Tracking
(Not tracked)
NEW
People
(Reporter: ato, Unassigned)
References
(Depends on 3 open bugs, )
Details
(Keywords: meta, Whiteboard: [method=Page.printToPDF])
No description provided.
Updated•5 years ago
|
Blocks: puppeteer-examples
Comment 1•5 years ago
|
||
Note that there is a WebExtension API which allows to do that for add-ons:
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs/saveAsPDF
It's implementation can be found here:
https://searchfox.org/mozilla-central/rev/11d9c7b7fa82fdfb8ac2a8f0864e9d8d5fe2b926/browser/components/extensions/parent/ext-tabs.js#1304
It uses the underlying PrintSettingsService to print the document to a PDF file. I assume that we could make use of it too.
Whiteboard: [method=Page.printToPDF] → [method=Page.printToPDF][puppeteer-alpha]
Updated•5 years ago
|
No longer blocks: puppeteer-examples
Whiteboard: [method=Page.printToPDF][puppeteer-alpha] → [method=Page.printToPDF]
Depends on: 1658333
Assignee | ||
Updated•4 years ago
|
Component: CDP: Page → CDP
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•