w3c / webdriver-bidi

Bidirectional WebDriver protocol for browser automation
https://w3c.github.io/webdriver-bidi/
336 stars 35 forks source link

Allow "browsingContext.print" to include a header and footer, and to customize them via a template #741

Open whimboo opened 3 days ago

whimboo commented 3 days ago

To enhance customization for the output of the Print to PDF feature handled by the browsingContext.print command, we should offer the following additional capabilities:

  1. Enable or disable the printing of header and footer elements.
  2. Customize the content of headers and footers using a template mechanism.