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 1010
1111``` python
1212from seleniumbase import BaseCase
13+ BaseCase.main(__name__ , __file__ )
1314
1415class 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```
You can’t perform that action at this time.
0 commit comments