SkillsReviewed · testdriverai

TestDriver Elements

TestDriver Elements is a skill for developers and coding assistants to automate on-screen controls using plain-language descriptions, but its matching accuracy is unverified. It documents TestDriver's JavaScript find() and Element APIs and assumes an existing TestDriver environment.

Researched 17 Nov 2026

In short.

TestDriver Elements is a skill for developers and coding assistants writing screen automation, but the documentation does not establish how reliably it identifies the intended control. It explains how natural-language searches return Element objects with mouse actions, coordinates and optional metadata. Practical strengths include location checks, re-finding controls after interface changes and structured debugging output. Installation, pricing, licensing, supported environments and underlying model details are not established. No execution or runtime validation was performed.

Researched and written by an AI model and checked by a second AI model. How it works

The selected scope is ai/skills/testdriver-elements and its files, together with licence notices beside and above that folder. The supplied manifest lists only ai/skills/testdriver-elements/SKILL.md at revision 97d4d35d7727b2f83b1a73282aabf2e6e74824a2. No adjacent or ancestor licence notice text is supplied, so those terms remain unknown. The evidence does not include elements.mdx, TestDriver implementation code, installation documentation or service terms. No code was executed; runtime behavior, accuracy, performance and end-to-end outcomes were not assessed.

The overview

Identity

The file declares the skill name testdriver:elements and describes AI-based UI element location and interaction. It is a focused reference for TestDriver's element API, with JavaScript examples and guidance for writing descriptions, checking matches and inspecting results.

The selected file is ai/skills/testdriver-elements/SKILL.md in testdriverai/testdriverai. Its header says it was generated from elements.mdx; that original documentation file is not included in the supplied evidence.

Assessment

This is useful as a reference when writing automation against an existing TestDriver setup. It explains the distinction between locating a control, checking whether coordinates were found, interacting with it and examining diagnostic information.

The examples establish documented usage patterns, not demonstrated reliability. A successful found() check means coordinates were located; it does not establish that the intended control was selected or that the resulting application action succeeded.

Users

The material suits developers and coding assistants creating TestDriver scripts for forms, dialogs, menus, notifications and other visible controls. Beginners get concrete examples of finding and clicking elements; experienced developers get coordinate access, serialization details and optional match metadata.

Readers need enough JavaScript knowledge to use async/await, inspect nullable properties and handle unsuccessful searches. It does not provide a complete introduction to installing or initializing TestDriver.

Capabilities

The documented API finds controls from natural-language descriptions and returns Element objects. These support location checks, re-finding with the same or a revised description, clicking, hovering, double-clicking, right-clicking and pressing or releasing the mouse button. Press/release actions are illustrated as building blocks for dragging.

Located elements expose position coordinates. Depending on detection, they may also expose dimensions, a bounding box, extracted text, an accessible label and confidence information. JSON serialization provides debugging data, including cache information, similarity, an optional selector and an AI explanation.

Using it

Requirements

Examples assume an initialized testdriver object and an environment where TestDriver can observe the screen and perform input actions. Form examples also use testdriver.type(), while other examples use scroll(), pressKeys() and coordinate-based click(). These are separate from Element methods.

The required package version, JavaScript runtime version, supported operating systems, installation dependencies, authentication and account requirements are unknown. The model provider and whether processing requires a remote service are also unspecified.

Mechanism

According to the documentation, testdriver.find(description) uses AI to locate a described element on the screen and returns Promise<Element>. Descriptions can refer to appearance, position and nearby text. found() reports whether element coordinates were located, and element.find() repeats the search after a screen change.

Serialized output documents cache hits, a cache strategy such as pixel-diff, image differences, similarity and confidence. The file does not explain the detection model, cache invalidation rules or confidence calibration. Its sample scores and thresholds are illustrative values, not measured results or established defaults.

Setup

Once TestDriver is initialized, describe the target with distinguishing text, appearance or location, await find(), check found(), and then perform the interaction. After scrolling or a layout change, use element.find() to locate the target again before relying on its position.

The supplied file contains no installation command, skill registration procedure or initialization example. Obtain instructions matching the intended TestDriver version before using these snippets; compatibility cannot be inferred from this file alone.

Example

With an initialized testdriver object, a documented usage pattern can be expressed as: const button = await testdriver.find('blue submit button below the email field'); if (!button.found()) { throw new Error('Submit button not found'); } await button.click();

The description distinguishes the target by color and position, and the guard prevents proceeding when no coordinates were found. This example does not verify target correctness or successful form submission. It is illustrative and was not executed.

Assessment & evidence

Limitations

Element bounds, extracted text and labels can be null. Confidence is also typed as nullable, although the availability table says it is always available after AI element finding. Code should account for that inconsistency. The suggested 0.8 confidence threshold is guidance, not a validated accuracy guarantee.

Screenshots are documented as available only in DEBUG mode or on errors. Serialization excludes screenshot binary data, but its example includes a cached screenshot URL and other potentially revealing interface details. Screenshot retention, access controls and data processing arrangements are unspecified.

No benchmarks, failure rates or comparative results are supplied. An available label alone does not establish an interface's accessibility, and runtime behavior remains unassessed.

Reasoning

Because descriptions can use visual appearance and surrounding context, this approach may help express targets that are awkward to describe through a fixed selector. That is an inference from the API design; the evidence does not demonstrate reduced maintenance or improved accuracy.

For consequential interactions, coordinate availability, target correctness and the resulting application state are separate questions. The skill documents the first and supplies optional clues for the second, but its examples do not establish a complete outcome-verification strategy.

Alternatives

Conceptual alternatives include targeting a stable CSS/XPath selector or clicking known coordinates directly. The file mentions optional selectors in serialized output and demonstrates coordinate-based clicks, but it does not document a complete selector-based alternative.

A useful comparison would examine maintenance effort, wrong-target matches and behavior after layout changes. No supplied evidence establishes which approach performs better, so no comparative recommendation is supported.

Evidence

The evidence consists of one skill file with API descriptions, property availability notes and example scripts. It supports statements about documented interfaces, but contains no implementation review, execution receipts or measured results.

The original file is available at the pinned source address [https://raw.githubusercontent.com/testdriverai/testdriverai/97d4d35d7727b2f83b1a73282aabf2e6e74824a2/ai/skills/testdriver-elements/SKILL.md]. Its recorded SHA-256 is 5e35d5fe3d2a461c315b5d726cd93507de9a7bbda534e3acd78f5510264beb57.

Access & freshness

Costs

Pricing is unknown. The file provides no subscription terms, free allowance, per-search charge, model usage rate or account billing information.

Cache diagnostics are documented, but no evidence establishes whether cache hits affect charges or execution time. Public access to the skill file does not establish that the underlying TestDriver service is free.

Rights

The supplied SKILL.md contains no licence grant, and no neighbouring or repository-level licence notice is included. Permission to copy, modify or redistribute this file is therefore unknown from the available evidence.

The generated-file header identifies elements.mdx as its source, but it does not establish reuse terms for either file.

Freshness

The supplied snapshot was captured on 2026-11-17 at 04:29:05.049 UTC from revision 97d4d35d7727b2f83b1a73282aabf2e6e74824a2. That capture time does not establish when the file was last updated.

The evidence supplies no release number, commit date or maintenance history. Example cache timestamps are not release dates. Compatibility with other TestDriver revisions is unknown.

Actions

Before adopting the skill, confirm its applicable licence and obtain installation, initialization and billing information for the intended TestDriver version.

Evaluate representative screens with repeated labels, changing layouts and missing controls. Check the intended target and final application state as well as found(), handle nullable properties, and re-find elements after movement. Confirm what screenshots and diagnostic logs may be stored or shared.

Evidence for this report

ai/skills/testdriver-elements/SKILL.mdselected · checked 2026-11-17