You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allowing arbitrary options to be passed will give user's more flexibility in case they need to customize the behavior of Page.pdf() for their use case.
Options important for correct behavior of the plugin like path, width, and height should overwrite user-provided options. printBackground should have a default value of true to ensure similar behavior as Page.screenshot(), but we should allow user's to override this value.
The text was updated successfully, but these errors were encountered:
Allow options to be passed directly to Puppeteer's
Page.pdf()
like so:Allowing arbitrary options to be passed will give user's more flexibility in case they need to customize the behavior of
Page.pdf()
for their use case.Options important for correct behavior of the plugin like
path
,width
, andheight
should overwrite user-provided options.printBackground
should have a default value oftrue
to ensure similar behavior asPage.screenshot()
, but we should allow user's to override this value.The text was updated successfully, but these errors were encountered: