Skip to content

Automattic/localized-screenshots

Repository files navigation

Localized Screenshots

Screenshots Automation Tool

Getting Started

Prerequisites

Make sure you have Node.js, Yarn, and Docker installed on your system.

Development

  • 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

Debugging

Playwright

In order to run Playwright in debug mode, you need to set the PWDEBUG environment variable, for example:

PWDEBUG=1 yarn run dev