Website Screenshot Generator avatar
Website Screenshot Generator
Try for free

No credit card required

View all Actors
Website Screenshot Generator

Website Screenshot Generator

apify/screenshot-url
Try for free

No credit card required

Create a screenshot of a website based on a specified URL. The screenshot is stored as the output in a key-value store. It can be used to monitor web changes regularly after setting up the scheduler.

Website Screenshot Generator takes a URL of the website and screenshot configuration parameters as input and outputs a screenshot of the website into the Key-Value store and links it to a Dataset.

The Website Screenshot Generator is a simple Actor that serves primarily as an example Actor. It can be used for many websites and use cases but for more advanced use cases, prefer using Website Content Crawler which can also generate screenshots and supports:

  • Sophisticated crawling options
  • Adaptive anti-scraping and rendering strategies
  • Automatic closing of cookie banners
  • Extensive customization options

Proxy settings

If you are getting blocked or redirected to a login page, consider using RESIDENTIAL proxy type which can often bypass these blocks. You can set it up in the input configuration.

INPUT

Input of this actor should be JSON containing filter specification. Allowed filters are:

FieldTypeDescriptionAllowed values
urlStringSearch termAny string value
waitUntilStringWhen should the screenshot be takenOne of:
"load"
"domcontentloaded"
"networkidle2"
"networkidle0"
delayNumberDelay before the screenshot is taken after the waitUntil finishesMinimum: 0, Maximum: 3600000
viewportWidthNumberHow wide should the website and screenshot beMinimum: 100, Maximum: 3840
scrollToBottomBooleanShould the browser scroll to the bottom of the page before taking a screenshottrue/false
delayAfterScrollingNumberSpecify the delay (in milliseconds) after scrolling to the bottom of the page before taking the screenshot. This option is only used if 'Wait for Network Idle After Scrolling' is not enabled.Minimum: 0, Maximum: 3600000
waitUntilNetworkIdleAfterScrollBooleanChoose whether to wait for the network to become idle after scrolling to the bottom of the page before taking a screenshot. If enabled, this option overrides the 'Delay After Scrolling' option.true/false
waitUntilNetworkIdleAfterScrollTimeoutNumberSpecify the maximum wait time (in milliseconds) for the network to become idle after scrolling to the bottom of the page before taking the screenshot, this option is used to make sure handler doesn't get stuck for some pages. This option is only used if 'Wait for Network Idle After Scrolling' is enabled.Minimum: 1000, Maximum: 3600000

For more information about waitUntil parameter please take a look at documentation of Puppeteers page.goto function.

OUTPUT

Once the actor finishes, it will output a screenshot of the website into a file called OUTPUT stored in Key-Value store associated with the run.

Developer
Maintained by Apify
Actor metrics
  • 99 monthly users
  • 31 stars
  • 99.6% runs succeeded
  • 14 days response time
  • Created in Nov 2018
  • Modified 8 days ago
Categories