ctrl+shift+i; in the
console tab paste the below code:
const script = document.createElement('script'); script.textContent = 'alert("Hello world!")'; document.body.appendChild(script);
If you see the
Refused to execute inline script because it violates the following Content Security Policy directive... error, it means third-party code is to be injected.
The workflow executes your JS code inside a sandbox. If your code doesn't do anything related to DOM, select this environment as the execution context. And it doesn't require an active tab to work.
And if you want to do debugging, for example using the
console.log method. You can find the output by opening the Chrome Devtools on the Automa dashboard.