Skip to content

Commit 2309c69

Browse files
committed
Update the docs
1 parent 8c5005c commit 2309c69

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

help_docs/html_inspector.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
```python
1212
from seleniumbase import BaseCase
13+
BaseCase.main(__name__, __file__)
1314

1415
class HtmlInspectorTests(BaseCase):
1516
def test_html_inspector(self):
@@ -20,17 +21,15 @@ class HtmlInspectorTests(BaseCase):
2021
--------
2122

2223
```bash
23-
pytest test_inspect_html.py
24+
pytest test_inspect_html.py
2425
============== test session starts ==============
2526

2627
* HTML Inspection Results: https://xkcd.com/1144/
2728
⚠️ 'property' is not a valid attribute of the <meta> element.
2829
⚠️ Do not use <div> or <span> elements without any attributes.
29-
⚠️ The 'alt' attribute is required for <img> elements.
30-
⚠️ The 'border' attribute is no longer valid on the <img> element and should not be used.
3130
⚠️ 'srcset' is not a valid attribute of the <img> element.
31+
⚠️ The 'border' attribute is no longer valid on the <img> element and should not be used.
3232
⚠️ The <center> element is obsolete and should not be used.
33-
⚠️ <script> elements should appear right before the closing </body> tag for optimal performance.
3433
⚠️ The id 'comicLinks' appears more than once in the document.
3534
* (See the Console output for details!)
3635
```

0 commit comments

Comments
 (0)