Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs(python): fixed broken snippet in assertions.md

David Murdoch708fde8f0a17
diff --git a/docs/src/assertions.md b/docs/src/assertions.md
index db47338db7..92c70d406a 100644
--- a/docs/src/assertions.md
+++ b/docs/src/assertions.md
@@ -83,12 +83,12 @@ assertEquals("Text", alt);
```
```python async
-checked = await page.get_attribute("input", "alt")
+alt = await page.get_attribute("input", "alt")
assert alt == "Text"
```
```python sync
-checked = page.get_attribute("input", "alt")
+alt = page.get_attribute("input", "alt")
assert alt == "Text"
```