To get the most out of this workshop, you'll first need to fork this repository to your own GitHub account. Then, clone the forked repository to your local machine.
Optionally, you'll want to fetch all the branches from the upstream repository:
git remote add upstream [email protected]:danielstclair/playwright-workshop.git
git fetch upstream --all
git branch -avv # You should see all the branches from the upstream repository
# To make a local branch track a remote branch:
git branch abranch --track upstream/abranch
git checkout abranch
git push -u origin abranch
After cloning the repository, you'll need to install the dependencies:
npm install
First, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
First, run the test server:
npm run dev
Then, run the tests in a separate window:
npm run playwright -- --ui
Checkout the Favor Playwright Documentation for more information.