Skip to content

Commit ac9b9de

Browse files
Part 2 edits
1 parent 456fe24 commit ac9b9de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

workshop/2-first-steps.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ Append the following line to the test case:
177177

178178
Using Selenium WebDriver, we would need to locate the element and then send the interaction to it.
179179
However, in Playwright, these two parts are combined into a single call.
180+
Furthermore, Playwright waits for the target element to be visible and editable before it attempts to enter the text.
180181
We are arbitrarily using the phrase `'panda'` as our search phrase because, well, why not?
181182

182183
Let's handle the second part of the interaction: clicking the search button.
@@ -195,6 +196,7 @@ Append the following line to the test case:
195196
```
196197

197198
Again, Playwright is nice and concise.
199+
The `click` method waits for the target element to be ready to receive clicks, too.
198200

199201
Our test case should now look like this:
200202

0 commit comments

Comments
 (0)