We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Volt provides a simple but powerful templating engine to use variables throughout your scripts.
You can define initial variables in the vars section of your script:
vars
vars: search_term: "playwright automation" base_url: "https://google.com"
To use a variable in a step, wrap its name in double curly braces {{var_name}}:
{{var_name}}
steps: - action: navigate url: "{{base_url}}" - action: type selector: "input[name='q']" value: "{{search_term}}"
Variables can also be set dynamically during execution using specific actions like store_value, store_text, store_attribute, or store_eval.
store_value
store_text
store_attribute
store_eval
steps: - action: store_text name: "page_title" selector: "h1" - action: log message: "The title is {{page_title}}"