Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-14 | ✗→✓ | ▲ Improved | -52% | 0% |
| case-19 | ✗→✓ | ▲ Improved | -32% | 0% |
| case-01 | ✓→✗ | ▼ Worse | -47% | 0% |
| case-04 | ✓→✓ | = Same ✓ | 4% | 0% |
| case-05 | ✓→✓ | = Same ✓ | -14% | 0% |
This skill enables comprehensive testing and debugging of local web applications using Playwright automation.
You should use the Playwright MCP Server to undertake the work if possible. If the MCP Server is unavailable, you can run the code in a local Node.js environment with Playwright installed.
Use this skill when you need to:
javascript// Navigate to a page and verify title await page.goto("http://localhost:3000"); const title = await page.title(); console.log("Page title:", title);
javascript// Fill out and submit a form await page.fill("#username", "testuser"); await page.fill("#password", "password123"); await page.click('button[type="submit"]'); await page.waitForURL("**/dashboard");
javascript// Capture a screenshot for debugging await page.screenshot({ path: "debug.png", fullPage: true });
javascriptawait page.waitForSelector("#element-id", { state: "visible" });
javascriptconst exists = (await page.locator("#element-id").count()) > 0;
javascriptpage.on("console", (msg) => console.log("Browser log:", msg.text()));
javascripttry { await page.click("#button"); } catch (error) { await page.screenshot({ path: "error.png" }); throw error; }
Some helper functions are available in test-helper.js to simplify common tasks like waiting for elements, capturing screenshots, and handling errors. You can import and use these functions in your tests to improve readability and maintainability.
Other measured skills in the registry, with their headline benchmark lift.