Opens a web browser and navigates to the specified URL. :param port: The port number to be used in the URL. :param page: The page name to be appended to the URL. Default is an empty string which points to the index page.
(cls, port: int, page: str = "")
| 763 | |
| 764 | @classmethod |
| 765 | def open_web_browser(cls, port: int, page: str = "") -> None: |
| 766 | """ |
| 767 | Opens a web browser and navigates to the specified URL. |
| 768 | |
| 769 | :param port: The port number to be used in the URL. |
| 770 | :param page: The page name to be appended to the URL. Default is an empty string which points to the index page. |
| 771 | """ |
| 772 | webbrowser.open(f"http://127.0.0.1:{port}/{page}") |
| 773 | |
| 774 | @classmethod |
| 775 | def send_theme_data(cls) -> None: |
no test coverage detected