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'
 
 
This is the outcome of the screenshot you're getting: