SeleniumBase/examples/test_inspect_html.py

12 lines
416 B
Python
Raw Normal View History

2023-02-03 13:27:36 +08:00
"""Uses the SeleniumBase implementation of HTML-Inspector to inspect the HTML.
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.)"""
from seleniumbase import BaseCase
2023-02-03 13:27:36 +08:00
BaseCase.main(__name__, __file__)
2021-03-11 06:27:52 +08:00
class HtmlInspectorTests(BaseCase):
def test_html_inspector(self):
self.open("https://xkcd.com/1144/")
self.inspect_html()