SuperAPI AI Directory

playwright

Testing & quality

View repository

Updated 10-15 21:40

About this skill

Playwright E2E testing framework reference

A skill that covers all Playwright API documentation. Read the appropriate README.md according to the user's task, and from there follow it to the individual files.

Directory structure

skills/playwright/
  SKILL.md
  references/
    getting-started/
      README.md
      ci.md
      running-and-debugging.md
      writing-tests.md
    test-runner/
      README.md
      annotations.md
      configuration.md
      fixtures.md
      global-setup.md
      parallelism.md
      projects.md
      reporters.md
      retries.md
      sharding.md
      timeouts.md
      web-server.md
    core-concepts/
      README.md
      actions.md
      assertions.md
      auto-waiting.md
      emulation.md
      frames.md
      isolation.md
      locators.md
      pages.md
    guides/
      README.md
      accessibility.md
      api-testing.md
      aria-snapshots.md
      authentication.md
      best-practices.md
      clock.md
      dialogs-downloads.md
      events.md
      mock-browser-apis.md
      network.md
      parameterize.md
      pom.md
      visual-testing.md
    tooling/
      README.md
      cli.md
      codegen.md
      test-agents.md
      trace-viewer.md
      ui-mode.md
    advanced/
      README.md
      browsers.md
      chrome-extensions.md
      component-testing.md
      evaluate.md
      service-workers.md
      typescript.md
    api/
      README.md
      assertions.md
      browser-context.md
      locator.md
      page.md
      request.md
  samples/
    README.md
    accessibility-testing.md
    api-testing.md
    authentication.md
    basic-test.md
    codegen.md
    configuration.md
    custom-fixtures.md
    device-emulation.md
    dialog-handling.md
    locators.md
    network-mocking.md
    page-object-model.md
    parameterized-tests.md
    visual-testing.md
  scripts/
    README.md
    install.md
    cli.md
    generate.md
    debug.md
    ci.md

Exploration procedure

Derive the category from the task, and identify the target page in the category's README.md:

  1. Find the category corresponding to the task in the mapping table below
  2. For that category references/{category}/README.md Refer to and identify the target page
  3. Read the .md of the relevant page to check the details

Task → Category mapping

Task Category Reference README
Basics of writing tests, first test, CI setup, debug execution getting-started references/getting-started/README.md
playwright.config.ts、fixtures、annotations、parallelism、sharding、retries、timeouts test-runner references/test-runner/README.md
locators、assertions、actions、auto-waiting、emulation、frames、isolation core-concepts references/core-concepts/README.md
Authentication, network mocking, API testing, visual testing, POM, accessibility, best practices, clock control guides references/guides/README.md
CLI commands, codegen, trace viewer, UI mode, test agents tooling references/tooling/README.md
TypeScript, browser management, Chrome extensions, component testing, evaluate, service workers advanced references/advanced/README.md
Page, Locator, BrowserContext, APIRequestContext, Assertions class API api references/api/README.md
Want to know typical usage, want to refer to implementation samples samples samples/README.md
Want to know installation, CLI commands, CI execution, and debug commands scripts scripts/README.md