Page Printer
Pricing
Pay per usage
Go to Apify Store
Page Printer
Performs screenshots or print web pages in PDF format.
0.0 (0)
Pricing
Pay per usage
3
64
4
Last modified
8 months ago
Pricing
Pay per usage
Performs screenshots or print web pages in PDF format.
0.0 (0)
Pricing
Pay per usage
3
64
4
Last modified
8 months ago
methodEnumRequired
Method for generating the page print.
"screenshot": string"pdf": stringDefault value of this property is "screenshot"
widthintegerOptional
The page width to apply: affects the screenshot.
Default value of this property is 1280
heightintegerOptional
The page height to apply: can affect the screenshot.
Default value of this property is 800
loadCookiesExtensionbooleanOptional
Hide cookies using browser extension "I don't care about cookies", version 3.5.1
loadPopupsExtensionbooleanOptional
Hide popups using browser extension "PopUpOFF", version 2.1.3
waitForLoadStateEnumOptional
The state to load for before processing the page.
"load": string"domcontentloaded": string"networkidle": stringpreFunctionstringOptional
Function to evaluate before printing the page. Can accept Playwright's 'page' object as input.
alwaysScreenshotbooleanOptional
Try to take a screenshot even if the pre-function crashed
screenshotFormatEnumOptional
Which image format to use for the screenshot.
"jpeg": string"png": stringDefault value of this property is "png"
screenshotQualityintegerOptional
The JPEG quality for the screenshot, which is always stored.
Default value of this property is 100
fullPageScreenshotbooleanOptional
Take a full page screenshot, increasing the LLM cost in "screenshot" mode. Can be turned off if all the information is in the viewport. Sending just the viewport, can also increase the LLM's success rate.
Default value of this property is true
pdfMediaEnumOptional
Media for printing PDF. See: https://playwright.dev/docs/api/class-page#page-pdf.
"print": string"screen": stringDefault value of this property is "print"
maxRequestRetriesintegerOptional
Max number of retries before declaring a screenshot job failed.
waitForLoadStateTimeoutintegerOptional
timeout for waitForLoadState event, in milliseconds
requestHandlerTimeoutSecsintegerOptional
Timeout in which the requestHandler function needs to finish, in seconds.