Actor picture

Screenshot Taker

jancurn/screenshot-taker

Takes a screenshot of one or more web pages using the Chrome browser. The actor enables the setting of custom viewport size, page load timeout, delay, proxies, and output image format.

No credit card required

Author's avatarJan Čurn
  • Modified
  • Users149
  • Runs62,998

Page URLs

urls

Required

array

List of URLs of web pages to take the screenshot of.

Page load timeout

pageLoadTimeoutSecs

Optional

integer

Timeout for the web page load, in seconds. If the web page does not load in this time frame, it is considered to have failed and will be retried, similarly as with other page load errors.

Page retry count

pageMaxRetryCount

Optional

integer

How many times to retry to load the page on error or timeout.

Wait until

waitUntil

Optional

string

Indicates when to consider the navigation to the page as succeeded. For more details, see waitUntil parameter of Page.goto() function in Puppeteer documention.

Options:

"load", "domcontentloaded", "networkidle0", "networkidle2"

Viewport width

viewportWidth

Optional

integer

Width of the browser window.

Viewport height

viewportHeight

Optional

integer

Height of the browser window.

Delay before screenshot

delaySecs

Optional

integer

How long time to wait after loading the page before taking the screenshot.

Image type

imageType

Optional

string

Format of the image.

Options:

"jpeg", "png"

Proxy configuration

proxyConfiguration

Optional

object

Specifies the type of proxy servers that will be used by the crawler in order to hide its origin.