1.0.0 • Published 1 year ago

playwright-codegen v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Playwright Codegen

A simple codegen plugin for playwright. Playwright's native codegen isn't flexible enough for all use cases, especially for canvas based apps. Hopefully playwright will come up with something better and make this repo obsolete. Until then enjoy. Contributions are more than welcome.

Trackers:

Feature request Feature tracker

Installation

npm i --save-dev playwright-codegen

Usage

import { Codegen } from "playwright-codegen";

test("My codegen test", async ({ page }, testInfo) => {
  await Codegen.start(page, testInfo); // launches a TS file that is updated by codegen
});