Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Reads information from the screen with AI and returns it as a string for use in tests.
45% 100%+55 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 10 of 22 without it.
3 of 3 safety checks passed
Not used yet
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');
Next to this one in the catalogue, plus more from the same author.