playwright-codegen

1.0.0 • Public • Published

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
});

Readme

Keywords

Package Sidebar

Install

npm i playwright-codegen

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

453 kB

Total Files

14

Last publish

Collaborators

  • shaman123