MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / _log_fail_data

Method _log_fail_data

seleniumbase/fixtures/base_case.py:17096–17110  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

Callers 2

add_fails_or_errorsMethod · 0.80

Calls 1

__get_test_idMethod · 0.95

Tested by 1