In short.
TestDriver Find is an AI assistant skill for developers and test engineers locating screen elements by description, but its setup example contains a variable error and its failure behavior is unclear. It documents a useful range of matching, interaction and caching controls. Actual accuracy, performance, compatibility, service costs and licence terms are not established; no code was executed.
Researched and written by an AI model and checked by a second AI model. How it works
The selected scope is ai/skills/testdriver-find and its files, together with licence notices beside and above that folder. The supplied file list contains only SKILL.md, which is covered in full. No neighbouring or ancestor licence notice text is available, so rights remain unknown. The SDK implementation, linked documentation, service behavior and other repository skills are outside the supplied evidence. No installation, API call, UI interaction, cache operation or benchmark was executed.
The overview
identity
The file declares the name testdriver:find and describes locating UI elements using natural language. It belongs to ai/skills/testdriver-find in the testdriverai/testdriverai repository. The skill supplies API instructions for the TestDriver software library, covering find() for a single element and findAll() for multiple matches.
The original folder address is [https://github.com/testdriverai/testdriverai/tree/main/ai/skills/testdriver-find]. This report concerns the captured skill file, with a specific source revision identified below.
assessment
The skill is useful for understanding how to describe a test target through its label, appearance, position or neighbouring elements. Examples include a coloured submit button below an email field and a checkbox beside a particular label.
Its central tradeoff is matching uncertainty: an AI-produced location can point to the wrong element. Confidence filtering, zoom and verification provide additional controls, but the evidence supplies no measured accuracy or reliability results. Documentation inconsistencies also prevent treating the examples as a dependable starting point without review.
users
The intended users are developers and test engineers writing JavaScript UI automation with TestDriver, including assistants helping them author those tests. Beginners need familiarity with asynchronous calls, objects, arrays and test assertions.
Experienced users may find the per-call matching controls, shared cache keys, element metadata and diagnostic serialization useful. The examples cover login forms, dialogs, dropdowns, table rows, product cards and navigation links. Supported applications and operating systems are not established.
capabilities
find(description, options) is documented as returning Promise<Element>. The Element exposes found(), click(), hover(), doubleClick(), rightClick() and another find() operation. Available properties include coordinates, dimensions, a bounding box and AI confidence; text and a base64 screenshot are available when present.
findAll(description, options) returns Promise<Element[]> and is documented to return an empty array when nothing matches. It supports iterating over repeated items and choosing individual results. The evidence does not establish that detection always finds every matching item or guarantees their ordering.
For find(), documented controls include minimum confidence, timeout, element-type hints, zoom, verification and caching. Per-call AI settings include temperature, top-p and top-k. JSON.stringify() is documented to remove circular references when serializing an Element for diagnostics.
Using it
requirements
The examples import TestDriver from testdriverai, obtain an API key from TD_API_KEY, authenticate and connect before interacting with an application. Several examples use Vitest; another uses the chrome helper from testdriverai/presets.
The file does not provide a package installation command, supported runtime versions, SDK version requirements or complete environment prerequisites. It also does not explain how to register this skill with an assistant. Model identity, processing location and screenshot or cache retention terms are unspecified.
mechanism
The documented process uses a natural-language description to obtain an element location. The type option prefixes the description to identify text, an image or a UI element; any leaves the description unchanged. A confidence threshold makes a result count as not found when its reported score is too low.
find() polls every five seconds, with a default timeout of 10,000 milliseconds. A timeout of zero requests one attempt. Zoom first estimates a location, takes a 30% screen crop around it, locates the target within that crop and converts the result back to screen coordinates. Verification uses a second AI call to check the proposed location and can trigger another search or a not-found result.
The source describes caching successful-test locations for reuse across runs without a fresh AI call. For find(), cacheThreshold defaults to 0.05, described as requiring 95% similarity; 0.01 is stricter, and -1 disables caching. Custom cacheKey values support reuse across changing descriptions. Default cache keys are described as depending on a SHA-256 hash of the test file. The cache dashboard is [https://console.testdriver.ai/cache].
setup
The documented sequence is to create a TestDriver instance with an API key, call auth(), call connect(), focus the target application, perform searches and disconnect afterward. This describes the intended lifecycle, but the file alone does not establish a complete working installation procedure.
The complete find() example declares testdriver but assigns the constructed instance to client. Subsequent calls still use testdriver, leaving it uninitialized in the shown code. A consistent variable name is required before adapting that example. This is a source-code finding, not an observed execution failure.
example
With an authenticated, connected testdriver instance, an illustrative sequence is: const button = await testdriver.find('blue submit button below the email field', { type: 'ui', confidence: 0.9, timeout: 15000, zoom: true, verify: true }); if (!button.found()) { throw new Error('Submit button not found confidently'); } await button.click();
This combines documented options and checks the returned result before clicking. If find() rejects instead, the sequence stops at the awaited search; the source does not consistently explain which failure path applies. The 0.9 threshold concerns the AI's reported score and does not establish a 90% probability of correctness. This example was not executed.
Assessment & evidence
limitations
Failure handling is contradictory. Much of the file says to inspect element.found(), including after a confidence rejection. The findAll() comparison table instead states that find() throws ElementNotFoundError when nothing is found. The exact missing-element behavior cannot be resolved from this file.
findAll() caching is also unclear. Its options list cacheThreshold as -1 by default, which disables caching, while examples imply that supplying cacheKey alone enables later cache hits. The comparison table also claims direct find().click() chaining despite documenting a Promise<Element> return type. Awaiting the result before calling click() is the consistently demonstrated pattern.
The manual polling examples call find() without disabling its own polling. Consequently, an outer loop can include the inner search's waiting time, and its stated timeout may not strictly bound elapsed time. This is an inference from the documented polling behavior, not a measured result.
There are no accuracy measurements, confidence-calibration results, verified timing results or compatibility tests. Enabling zoom and verification does not establish that wrong matches are eliminated. The initialization error in the complete example further limits its usefulness as a copy-and-run template.
reasoning
The skill's practical value lies in expressing a target through visible context and then obtaining an object that can be inspected and interacted with. Its controls address different problems: type clarifies the intended kind of target, confidence filters low-scoring matches, zoom refines location, verification checks the proposed match and caching avoids repeated inference.
Those controls should be evaluated separately. A visually similar cached screen does not establish that a changing order or account is the intended record, and an AI confidence score has no demonstrated calibration here. These are reasons to validate target identity and outcomes in representative tests before relying on the automation.
alternatives
Within the documented API, find() serves one target and findAll() serves repeated items with explicit array handling. Built-in timeout polling is the documented default; manual polling offers control over the surrounding loop but requires accounting for each search's own timeout.
The file also identifies click(), hover(), assert() and a fuller Elements Reference as related material. It provides no comparison with competing tools, so relative accuracy, cost, platform coverage and suitability remain unassessed.
evidence
The supplied source is ai/skills/testdriver-find/SKILL.md at repository revision 97d4d35d7727b2f83b1a73282aabf2e6e74824a2. Its immutable address is [https://raw.githubusercontent.com/testdriverai/testdriverai/97d4d35d7727b2f83b1a73282aabf2e6e74824a2/ai/skills/testdriver-find/SKILL.md]. The supplied file SHA-256 is 86e5707ae73c58a7f26883c493f989fcd3142c00079d0bb92a04eed703d648f9.
The evidence consists of API documentation and illustrative code. It contains no SDK implementation, execution traces or benchmark records. Linked reference pages and dashboard behavior were not assessed, and no code was executed.
Access & freshness
costs
Cost is unknown. The file does not state whether access is free or paid, subscription prices, usage limits, AI-call rates or billing rules.
Verification explicitly adds an AI call, zoom introduces another localization step, and polling can repeat searches. Cache hits are described as avoiding fresh AI calls. These mechanisms can affect resource use, but their monetary cost and actual latency were not assessed. Speed figures in example comments are not accompanied by benchmark methods or results.
rights
No licence text or adjacent or ancestor licence notices are included in the supplied evidence. Permission to copy, modify or redistribute the skill file is therefore unknown. Licence terms for the TestDriver SDK and terms for its service are also not supplied.
freshness
The source was captured at 2026-11-17T11:55:50.530Z. The pinned revision identifies the exact text discussed, but no SDK release number, file modification date or compatibility range is supplied.
Whether the current main branch or service behaves the same way is unknown. Dates inside sample serialized output are example data and do not establish maintenance or execution dates.
actions
Before adopting the skill, obtain the applicable SDK installation and authentication instructions, identify a compatible release and correct the client/testdriver initialization mismatch. Establish how that release handles absent elements and whether findAll() requires an explicit cache threshold to enable caching.
Evaluate representative screens, similar-looking targets, delayed content and changed layouts. Measure wrong matches, missed matches and latency with and without zoom, verification and caching. Confirm ordering before selecting findAll() results by index, and ensure custom cache keys still identify the intended target when descriptions contain changing data.
Obtain pricing, licence terms and screenshot/cache handling information before making a cost or reuse decision. These are proposed next steps; none was performed.
