Install any skill in seconds. Free to start, no credit card required.
Get Started Free →testdriverai/testdriver:focus-application
Bring an application window to the foreground
Passed 22 of 22 test cases with the skill, and 3 of 22 without it.
and 23 more in the full report
19 fixed3 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 19 test cases the skill fixed. Same model, same prompt, with and without the skill.
I want to activate my running web browser in a JavaScript test script. Should I pass 'chrome', 'chrome.exe', or 'Google Chrome' to the app focusing method to bring the browser to the front? Please show the exact code snippet.
| Checked | Without skill | With skill |
|---|---|---|
| Uses 'Google Chrome' as the application name argument. | Passed | Passed |
| Awaits the focusApplication call before invoking UI interactions. | Missed | Passed |
The instructions your model reads when the skill loads.
Bring a specific application window to the foreground and make it the active window for interactions.
await testdriver.focusApplication(name)
Promise<string> - Result message
// Focus Chrome browser
await testdriver.focusApplication('Google Chrome');
// Focus Edge browser
await testdriver.focusApplication('Microsoft Edge');
// Focus Notepad
await testdriver.focusApplication('Notepad');
// Focus File Explorer
await testdriver.focusApplication('File Explorer');
// Focus Visual Studio Code
test cases passed, vs 3 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.