← ClaudeAtlas

testdriverfindlisted

Locate UI elements using natural language
testdriverai/testdriverai · ★ 242 · Testing & QA · score 71
Install: claude install-skill testdriverai/testdriverai
<!-- Generated from find.mdx. DO NOT EDIT. --> ## Overview Locate UI elements on screen using AI-powered natural language descriptions. Returns an `Element` object that can be interacted with. ## Syntax ```javascript const element = await testdriver.find(description) const element = await testdriver.find(description, options) ``` ## Parameters <ParamField path="description" type="string" required> Natural language description of the element to find </ParamField> <ParamField path="options" type="object | number"> Optional configuration for finding and caching <Expandable title="properties"> <ParamField path="cacheKey" type="string"> Custom cache key for storing element location. Use this to prevent cache pollution when using dynamic variables in prompts, or to share cache across tests. </ParamField> <ParamField path="cacheThreshold" type="number" default={0.05}> Similarity threshold (0-1) for cache matching. Lower values require more similarity. Set to -1 to disable cache. </ParamField> <ParamField path="timeout" type="number" default={10000}> Maximum time in milliseconds to poll for the element. Retries every 5 seconds until found or timeout expires. Defaults to `10000` (10 seconds). Set to `0` to disable polling and make a single attempt. </ParamField> <ParamField path="confidence" type="number"> Minimum confidence threshold (0-1). If the AI's confidence score for the found element is below th