You might want to pull a title, date, or other status off the page and have the AI use it later.
With our proposed remember
command, now you can ask TestDriver to remember specific things about what it can see on the screen for use later.
This proposed syntax will allow the AI to set OUTPUT
variables for use in later steps. See the video and YAML below for an example.
version: 5.6.7
steps:
- prompt: search for the current track in spotify
commands:
- command: focus-application
name: spotify
- command: remember
output: track
description: the track now playing in spotify
- command: hover-text
text: What do you want to play?
description: the spotify search bar
action: click
- command: type
text: ${OUTPUT.track}