Install any skill in seconds. Free to start, no credit card required.
Get Started Free →testdriverai/testdriver:elements
Locate and interact with UI elements using AI
Passed 23 of 23 test cases with the skill, and 5 of 23 without it.
and 21 more in the full report
18 fixed5 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 18 test cases the skill fixed. Same model, same prompt, with and without the skill.
When working with TestDriver Element class, the click method accepts an optional action string parameter. If I want to pass an explicit action string into element.click(action) to trigger a right click, what exact string value does the API expect?
| Checked | Without skill | With skill |
|---|---|---|
| Passes 'right-click' as the action parameter string to element.click() | Missed | Passed |
The instructions your model reads when the skill loads.
TestDriver's element finding system uses AI to locate elements on screen using natural language descriptions. The find() method returns an Element object that you can interact with.
Locate an element on screen using a natural language description.
const element = await testdriver.find(description)
Parameters:
description (string) - Natural language description of the element to findReturns: Promise<Element> - Element instance that has been located
Example:
// Find a button
const submitButton = await testdriver.find('the submit button');
// Find an input field with context
const emailField = await testdriver.find('email input field in the login form');
// Find an element by visual characteristics
const redButton = await testdriver.find('red button in the top right corner');
The Element class represents a located (or to-be-located) UI element. It provides methods for interaction and properties for element information.
test cases passed, vs 5 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.