We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23d9899 commit 5217399Copy full SHA for 5217399
1 file changed
docs/src/locators.md
@@ -1207,10 +1207,10 @@ const button = page.getByRole('button').and(page.getByTitle('Subscribe'));
1207
Locator button = page.getByRole(AriaRole.BUTTON).and(page.getByTitle("Subscribe"));
1208
```
1209
```python async
1210
-button = page.get_by_role("button").and_(page.getByTitle("Subscribe"))
+button = page.get_by_role("button").and_(page.get_by_title("Subscribe"))
1211
1212
```python sync
1213
1214
1215
```csharp
1216
var button = page.GetByRole(AriaRole.Button).And(page.GetByTitle("Subscribe"));
0 commit comments