Taking screenshots

You can take up to three screenshots per browser check. This is really handy when debugging a failure situation or just in general to get a comfy feeling everything is OK.

Ad a screenshot anywhere by using the following syntax in your script

await page.screenshot({ path: "my_screenshot.png" })

Screenshots will show up while editing your browser check in the editor on the “screenshots” tab and as part of the check results on every check run. You can download the full size screenshot by clicking on the thumbnail.

Screenshots need to stick to the following specs:

  • Either .png, jpeg or jpg suffix
  • Allowed characters are a-z A-Z 0-9 - _ @ So no whitespaces in the filename.

Last updated on March 29, 2018