Skip to content

This repository is an example of a combined tests of Playwright, TypeScript, and Page object models.

License

Notifications You must be signed in to change notification settings

kwn1125/playwright-typescript-pom

Repository files navigation

Playwright + TypeScript + Page object models

This repository is an example of a combined tests of Playwright, TypeScript, and Page object models.

Requirements

Node.js

Node.js is required to run tests. It is recommended to use Volta for managing your Node.js version rather than installing Node.js directly. The recommended Node.js and npm versions are specified in the package.json.

Recommended

The recommended extensions for Visual Studio Code are listed in .vscode/extensions.json.

Getting Started

Clone repository.

git clone https://github.com/kwn1125/playwright-typescript-pom.git <project_directory>

Install dependencies by referencing the package-lock.json.

cd <project_directory>
npm ci

Follow the instructions in the Playwright documentation to install the browsers and run the tests:

About

This repository is an example of a combined tests of Playwright, TypeScript, and Page object models.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published