Page Printer avatar

Page Printer

Try for free

No credit card required

Go to Store
Page Printer

Page Printer

marco.gullo/page-printer
Try for free

No credit card required

Performs screenshots or print web pages in PDF format.

Start URLs

startUrlsarrayRequired

URLs to start with.

Method

methodEnumRequired

Method for generating the page print.

Value options:

"screenshot": string"pdf": string

Default value of this property is "screenshot"

Wait for load state

waitForLoadStateEnumOptional

The state to load for before processing the page.

Value options:

"load": string"domcontentloaded": string"networkidle": string

Pre-function

preFunctionstringOptional

Function to evaluate before printing the page. Can accept Playwright's 'page' object as input.

Always take a screenshot

alwaysScreenshotbooleanOptional

Try to take a screenshot even if the pre-function crashed

Media

pdfMediaEnumOptional

Value options:

"print": string"screen": string

Default value of this property is "print"

Max request retries

maxRequestRetriesintegerOptional

Max number of retries before declaring a screenshot job failed.

wait For Load State Timeout (milliseconds)

waitForLoadStateTimeoutintegerOptional

timeout for waitForLoadState event, in milliseconds

request Handler Timeout Secs

requestHandlerTimeoutSecsintegerOptional

Timeout in which the requestHandler function needs to finish, in seconds.

navigationTimeoutSecsintegerOptional

Timeout in which page navigation needs to finish, in seconds.

Proxy configuration

proxyOptionsobjectOptional

Select proxies to be used by your crawler.

Developer
Maintained by Community

Actor Metrics

  • 6 monthly users

  • 2 stars

  • >99% runs succeeded

  • Created in Jul 2024

  • Modified 4 months ago