Automating the web with Playwright
This is the instructions page for the
Automating the web with Playwright-workshop
at Agile Testing Days 2022.
Please follow these instructions before the workshop starts.
In case of any issues, feel free to appraoch me (in person,
via Twitter/
Mastodon or Slack...)
There's a handout with useful links for during the workshop:
Handout - Automating the web with Playwright - #agileTD 2022-11
Short version
This is meant for people who have worked with Java code before;
if this is not you, just follow the "Full version" below
- Install JDK 17
- Install Maven
- Install IDE of your choice (IntelliJ, Eclipse, VS Code, whatever you prefer, it doesn't really matter.
I will use IntelliJ)
- Get the code from
https://github.com/christianbaumann/playwright-workshop
- Make sure you can execute the tests in src/test/java/dev/christianbaumann
Full version
Install Java
Download and install Java 17 / Java SE Development Kit for your operating system from
https://www.oracle.com/java/technologies/downloads/#java17
Install IDE (IntelliJ)
Get the exercise code
Do this as closely to the workshop as possible (or redo it);
the code might change until the very last moment!
Open the project
- Open IntelliJ
- In case you installed IntelliJ for the first time: Click Open
- In case you already had IntelliJ installed: Go to File/ New/ Project from existing sources
- Select the path where you unpacked the zip file
- In case your asked if you should Trust and Open the project, select Trust Project
- Go to File/ Project Structure...; on Project Settings/ Project,
select "JDK 17" as Project SDK
- Wait for IntelliJ to finish the indexing