2023-02-03 13:27:36 +08:00
|
|
|
"""Uses the SeleniumBase implementation of HTML-Inspector to inspect the HTML.
|
2019-11-19 16:01:34 +08:00
|
|
|
See https://github.com/philipwalton/html-inspector for more details.
|
2023-02-03 13:27:36 +08:00
|
|
|
(Only works on Chrome and Chromium-based browsers.)"""
|
2019-11-19 16:01:34 +08:00
|
|
|
from seleniumbase import BaseCase
|
2023-02-03 13:27:36 +08:00
|
|
|
BaseCase.main(__name__, __file__)
|
2019-11-19 16:01:34 +08:00
|
|
|
|
|
|
|
|
2021-03-11 06:27:52 +08:00
|
|
|
class HtmlInspectorTests(BaseCase):
|
2019-11-19 16:01:34 +08:00
|
|
|
def test_html_inspector(self):
|
|
|
|
self.open("https://xkcd.com/1144/")
|
|
|
|
self.inspect_html()
|