Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Locates UI elements on screen from natural language descriptions and returns them for interaction in TestDriver.
22% 100%+78 ptsof test cases passed
Passed 23 of 23 test cases with the skill, and 5 of 23 without it.
3 of 3 safety checks passed
Not used yet
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.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.