Skip to content

Commit 79608e6

Browse files
Added note on sync vs. async
1 parent 616e6f5 commit 79608e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tutorial/2-first-steps.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ Typically, a test will only need to call the `page` fixture directly.
5353
These fixtures will also automatically clean up everything after testing is complete.
5454
You do not need to explicitly close the browser.
5555

56+
> Playwright supports both synchronous and asynchronous calls for Python.
57+
> Synchronous calls are sufficient for almost all test automation needs.
58+
> Asynchronous calls could be useful for other types of automation, such as web scraping.
59+
5660
Let's update our test stub to call the `page` fixture.
5761
In `tests/test_search.py`, change the test function signature from this:
5862

0 commit comments

Comments
 (0)