Inputs

☐ Prompt / Description (Required)

A clear and concise instruction describing what this step should do. This helps the AI debug the automation if website changes impact execution.

Good Example: "Run a script to log 'Hello world!' in the console and proceed to the next block."

Bad Example: "Execute some JavaScript that does something useful on the page."

Why it’s bad? Too vague, lacks specificity about the intended script execution.

☐ JavaScript Code Editor (Required)

Write the JavaScript code to be executed within the webpage. Ensure that the script ends with bytespaceNextBlock() to continue execution.

Usage Example

Scenario: Logging a message and clicking a button

✅ Good Prompt:

“Run a script to log ‘Hello world!’ in the console and click the ‘Submit’ button.”

✅ Good JavaScript Code:

console.log("Hello world!");
document.querySelector("button.submit").click();
bytespaceNextBlock();

Notes

  • The Prompt / Description is required to help AI debug and re-adjust the script if needed.
  • The script should always end with bytespaceNextBlock() to ensure workflow execution continues.
  • Ensure the JavaScript is compatible with the webpage environment and doesn’t cause unexpected behavior.