File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 10
10
11
11
``` python
12
12
from seleniumbase import BaseCase
13
+ BaseCase.main(__name__ , __file__ )
13
14
14
15
class HtmlInspectorTests (BaseCase ):
15
16
def test_html_inspector (self ):
@@ -20,17 +21,15 @@ class HtmlInspectorTests(BaseCase):
20
21
--------
21
22
22
23
``` bash
23
- pytest test_inspect_html.py
24
+ pytest test_inspect_html.py
24
25
============== test session starts ==============
25
26
26
27
* HTML Inspection Results: https://xkcd.com/1144/
27
28
⚠️ ' property' is not a valid attribute of the < meta> element.
28
29
⚠️ 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.
31
30
⚠️ ' 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.
32
32
⚠️ The < center> element is obsolete and should not be used.
33
- ⚠️ < script> elements should appear right before the closing < /body> tag for optimal performance.
34
33
⚠️ The id ' comicLinks' appears more than once in the document.
35
34
* (See the Console output for details! )
36
35
```
You can’t perform that action at this time.
0 commit comments