Yes absolutely. You can prompt it to "terminate" if some state isn't met (ie XYZ text isn't displayed on the screen), and treat terminated results as failures
For example, you could instruct it to go to hackernews and terminate if you don't see a comment from giamma by passing in this payload:
{
"url": "https://news.ycombinator.com",
"navigation_goal": "goal is met if you see a post from giamma. Terminate if you don't"
}
For example, you could instruct it to go to hackernews and terminate if you don't see a comment from giamma by passing in this payload:
{ "url": "https://news.ycombinator.com", "navigation_goal": "goal is met if you see a post from giamma. Terminate if you don't" }