Playwright

From ayazelrico/Milyonus-Agent-5.5 · View interactive version

Playwright is an AI agent skill from the GitHub repository ayazelrico/Milyonus-Agent-5.5. Browser automation and E2E testing with Playwright

How to use this skill

Skill file

Playwright (browser automation / E2E)

Install

pip install playwright && playwright install chromium
# or JS: npm i -D @playwright/test && npx playwright install

Script (Python, async)

from playwright.async_api import async_playwright

async with async_playwright() as p:
    browser = await p.chromium.launch(headless=True)
    page = await browser.new_page()
    await page.goto("https://example.com")
    await page.fill("#search", "milyonus")
    await page.click("button[type=submit]")
    await page.wait_for_selector(".result")
    print(await page.title())
    await browser.close()

Selectors & actions

Debugging

npx playwright test --headed --debug     # visible + step through
npx playwright test --trace on           # trace recording -> trace.zip
npx playwright show-trace trace.zip
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.