Install any skill in seconds. Free to start, no credit card required.
Get Started Free →testdriverai/testdriver:extract
Read information from the screen using AI and return it as a string
Passed 21 of 21 test cases with the skill, and 10 of 21 without it.
and 9 more in the full report
12 fixed10 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
We want to run an inspection step in TestDriver that scans the entire current screen visual layout and detects all visible UI elements and their spatial bounding regions at once, rather than reading a specific named value string. Which TestDriver SDK method performs full screen element detection?
| Checked | Without skill | With skill |
|---|---|---|
| Recommends testdriver.parse for scanning all screen elements | Missed | Passed |
The instructions your model reads when the skill loads.
Get information from the screen with AI. TestDriver returns it as a string. Describe what you want in natural language. The AI reads the screen and returns the correct value: text, numbers, labels, status messages, or other content on the screen.
assert() returns a boolean result. But extract() returns the real value. Thus you can store it, compare it, or use it in later steps and in framework assertions.
const value = await testdriver.extract(description)
const value = await testdriver.extract({ description })
Promise<string> — The information from the screen. TestDriver returns the value as text. Parse it or cast it yourself if you need a number or another type.
// Read text content
const title = await testdriver.extract('the page title');
const heading = await testdriver.extract('the main heading text');
// Read numbers and prices
const price = await testdriver.extract('the total price shown in the cart');
test cases passed, vs 10 / 21 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.