Welcome to the Playwright Environment Setup and Configuration repository! This repository provides comprehensive instructions for configuring Playwright for various environments, allowing seamless automation testing across multiple environment and data.
npm install dotenv --save
npm install --save-dev cross-env
Execute tests for a specific environment using:
npm run env:dev
Replace dev
with stg
or prod
to run tests against different environments.