Use our Query Builder to explore our API. (If you are logged in your API key is automatically added). To easily view all the screenshot options in an interactive builder to ensure you have your ideal screenshot dialed in.
You can check out the Query Builder here: https://app.screenshotapi.net .
Inject Javascript field is a javascript code that the browser can execute before taking the screenshot.
For example: Try taking a screenshot of https://xo.capital/ and paste this code in the "Inject JS code" input of the query builder:
document.getElementsByClassName('display-heading')[0].innerHTML = 'This is a test to help the customer'
We added a new option recently specifically for the PDF output. You can select the range that you want to select. Sometimes if the screenshot has unnecessary details that bleed into another page and you want to remove that from the screenshot, you can customize the page range that gets outputted directly from the Query Builder.
This option on the query builder allows you to store the HTML and the text of the site. You currently need to set the output as json to grab the URLs. If you are using the img output, for example, we will extract the information but there is no way to grab the URLs.