Screenshots Automation Tool
Make sure you have Node.js, Yarn, and Docker installed on your system.
- Clone the project repository locally:
git clone https://github.com/Automattic/localized-screenshots.git
- Set the environment variables in
.env
:
cd localized-screenshots
cp .env.example .env
- Install the dependencies:
yarn install
- Run locally:
yarn run dev
- Open http://localhost:3003 in your browser.
- For plugin development, use the WordPress environment at http://localhost:8888
In order to run Playwright in debug mode, you need to set the PWDEBUG environment variable, for example:
PWDEBUG=1 yarn run dev