@@ -18,7 +18,7 @@ Playwright tests can set up *much* faster than traditional Web UI tests.
1818
1919In this tutorial, we will build a [ Python] ( https://www.python.org/ )
2020test automation project from the ground up using Playwright.
21- We will automate web search engine tests together step-by-step
21+ We will automate web tests together step-by-step
2222using Playwright for interactions and pytest for execution.
2323We'll also explore Playwright tricks
2424like cross-browser testing, capturing videos, and even running tests in parallel!
@@ -37,8 +37,8 @@ Some of the nice features Playwright offers include:
3737* very fast execution times (compared to other browser automation tools)
3838* cross-browser and mobile emulation support
3939* automatic waiting
40- * built-in API calls
4140* screenshots and video capture
41+ * built-in API calls
4242
4343Microsoft is actively developing Playwright,
4444so new features are coming all the time!
@@ -60,7 +60,7 @@ I also have given (or will be giving) this tutorial as a live workshop at the fo
6060
6161## Outline
6262
63- This tutorial has five main parts, each with three sections:
63+ This tutorial has six main parts, each with three sections:
6464
65651 . Getting started
6666 1 . What is Playwright?
@@ -82,6 +82,10 @@ This tutorial has five main parts, each with three sections:
8282 1 . Testing different browsers
8383 2 . Capturing screenshots and videos
8484 3 . Running tests in parallel
85+ 6 . Testing with APIs
86+ 1 . API setup
87+ 2 . Writing a pure API test
88+ 3 . Writing a hybrid UI/API test
8589
8690
8791## Prerequisites
@@ -98,6 +102,9 @@ You should also have a decent Python editor like
98102[ Visual Studio Code] ( https://code.visualstudio.com/docs/languages/python )
99103or [ PyCharm] ( https://www.jetbrains.com/pycharm/ ) .
100104
105+ If you wish to complete Part 6 ("Testing with APIs"),
106+ then you will need a [ GitHub] ( https://github.com/ ) account.
107+ 101108
102109## Example code branches
103110
@@ -113,4 +120,5 @@ The branch names are:
113120| Part 3 | 3-assertions |
114121| Part 4 | 4-page-objects |
115122| Part 5 | 5-playwright-tricks |
123+ | Part 6 | 6-api-testing |
116124| Complete | main |
0 commit comments