Skip to content

This repository contains a simple example of how to use Playwright with Docker

Notifications You must be signed in to change notification settings

spooky063/playwright-docker

Repository files navigation

Playwright testing

This repository contains a simple example of how to use Playwright with Docker.

First, you need to install Docker and Docker Compose.

Then, you can run the following commands:

make up

This will start a Docker container with Node.js and Playwright installed.
For the rest of the commands, open a new terminal to run the commands inside the container.

Preparing the environment

You can run the following command to prepare the environment:

make prepare

To install playwright, you can run the following command:

make install

Run tests

You can run the following command to run the tests:

All the tests are located in the tests directory.

make test

About

This repository contains a simple example of how to use Playwright with Docker

Resources

Stars

Watchers

Forks