Getting started
API

Get Screenshot

Collect all parameteres, load the webpage and take screenshot at the end. This API save on a S3 bucket and return the url.


Required parameters

  • targetUrlstring : Website url

Optional parameters

  • useProxyenum : Load website through proxy servers
  • pageWidthnumber : Set browser page width
  • pageHeightnumber : Set browser page height
  • deviceScaleFactorenum : Specify device scale factor (can be thought of as DPR). Defaults to 1.
  • isMobileenum : 1 for true, 0 for false. Whether the meta viewport tag is taken into account. Defaults to 0.
  • hasTouchenum : 1 for true, 0 for false. Specifies if viewport supports touch events. Defaults to 0
  • isLandScapeenum : 1 for true, 0 for false. Specifies if viewport is in landscape mode. Defaults to 0
  • fullpageenum : 1 for true, 0 for false. When 1, takes a screenshot of the full scrollable page. Defaults to 0.
  • clickSelectorstring : Click on the page, identified by the selector
  • clickDelaynumber : Click after ms.
  • clickButtonnumber : Which mouse button 'left', 'right', 'middle', 'back', 'forward'
  • clickCountnumber : How many times click the element.
  • isFullyLoadedenum : 1 for true, 0 for false. When 1, consider navigation to be finished when there are no more than 0 network connections for at least 500 ms. Default 0.
  • removablesstring : Remove html elements by input selector, before taking screenshot.