docs(python): fixed broken snippet in assertions.md
Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
99bbc51760
commit
708fde8f0a
|
|
@ -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"
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue