(self)
| 17094 | self.__add_pytest_html_extra() |
| 17095 | |
| 17096 | def _log_fail_data(self): |
| 17097 | if not ( |
| 17098 | (python3_11_or_newer and py311_patch2) |
| 17099 | or "--pdb" in sys.argv |
| 17100 | ): |
| 17101 | return |
| 17102 | test_id = self.__get_test_id() |
| 17103 | test_logpath = os.path.join(self.log_path, test_id) |
| 17104 | log_helper.log_test_failure_data( |
| 17105 | self, |
| 17106 | test_logpath, |
| 17107 | self.driver, |
| 17108 | self.browser, |
| 17109 | self.__last_page_url, |
| 17110 | ) |
| 17111 | |
| 17112 | def _get_browser_version(self): |
| 17113 | driver_capabilities = None |