You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+154-3Lines changed: 154 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,9 @@ You should also have a decent Python editor like
40
40
[Visual Studio Code](https://code.visualstudio.com/docs/languages/python)
41
41
or [PyCharm](https://www.jetbrains.com/pycharm/).
42
42
43
+
The command line shown in examples below is [bash](https://en.wikipedia.org/wiki/Bash_(Unix_shell)).
44
+
If you are using a different shell or a Windows command line, some commands may need to be different.
45
+
43
46
44
47
### Agenda
45
48
@@ -48,8 +51,7 @@ This workshop has five main parts:
48
51
1. Getting started
49
52
1. What is Playwright?
50
53
2. Our web search test
51
-
3. Installations
52
-
4. Test project setup
54
+
3. Test project setup
53
55
2. First steps with Playwright
54
56
1. Raw Playwright calls
55
57
3. Refactoring using page objects
@@ -88,7 +90,156 @@ You can code along with them either during the live workshop event or afterwards
88
90
89
91
### Part 1: Getting started
90
92
91
-
TBD
93
+
94
+
#### What is Playwright?
95
+
96
+
[Playwright](https://playwright.dev/python/) is a new library that can automate interactions with Chromium, Firefox, and WebKit browsers via a single API.
97
+
It is an open source project developed by Microsoft.
98
+
99
+
Playwright is a fantastic alternative to [Selenium WebDriver](https://www.selenium.dev/) for web UI testing.
100
+
Like Selenium WebDriver, Playwright has language bindings in multiple languages: Python, .NET, Java, and JavaScript.
101
+
Playwright also refines many of the pain points in Selenium WebDriver.
102
+
Some examples include:
103
+
104
+
* Playwright interactions automatically wait for elements to be ready.
105
+
* Playwright can use one browser instance with multiple browser contexts for isolation instead of requiring multiple instances.
106
+
* Playwright has device emulation for testing responsive web apps in mobile browsers.
0 commit comments