Skip to content

Commit 14560b6

Browse files
Updated tutorial part 4 instructions
1 parent 0ec47d3 commit 14560b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tutorial/4-page-objects.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Create a new directory named `pages`, and inside it, create blank files with the
2929
Your project's directory layout should look like this:
3030

3131
```
32-
tau-playwright-workshop
32+
playwright-python-tutorial
3333
├── pages
3434
│ ├── __init__.py
3535
│ ├── search.py
@@ -77,7 +77,7 @@ Let's also add the DuckDuckGo URL:
7777

7878
*(Warning:
7979
Base URLs should typically be passed into automation code as an input, not hard-coded in a page object.
80-
We are doing this here as a matter of simplicity for this workshop.)*
80+
We are doing this here as a matter of simplicity for this tutorial.)*
8181

8282
Next, let's handle dependency injection for the browser automator.
8383
Since each test will have its own Playwright page, we should inject that page.
@@ -90,7 +90,7 @@ Add the following initializer method to the class:
9090
```
9191

9292
The `__init__` method is essentially a constructor for Python classes
93-
(but with a bit of nuance that doesn't matter for this workshop).
93+
(but with a bit of nuance that doesn't matter for this tutorial).
9494
It has one argument named `page` for the Playwright page,
9595
which it stores as an instance variable (via `self`).
9696

@@ -335,7 +335,7 @@ Create a new file at `tests/conftest.py`.
335335
The new project directory layout should look like this:
336336

337337
```
338-
tau-playwright-workshop
338+
playwright-python-tutorial
339339
├── pages
340340
│ ├── __init__.py
341341
│ ├── search.py

0 commit comments

Comments
 (0)