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

Method quit

seleniumbase/core/sb_cdp.py:2170–2175  ·  view source on GitHub ↗

Quit the browser in the Pure CDP Mode Sync format.

(self)

Source from the content-addressed store, hash-verified

2168 self.quit()
2169
2170 def quit(self):
2171 """Quit the browser in the Pure CDP Mode Sync format."""
2172 driver = self.driver
2173 if hasattr(driver, "cdp_base"):
2174 driver = driver.cdp_base
2175 driver.quit()
2176
2177 def _on_a_cf_turnstile_page(self, source=None):
2178 if not source or len(source) < 400:

Callers 15

stopMethod · 0.95
build_reportFunction · 0.45
__exit__Method · 0.45
afterTestMethod · 0.45
pytest_runtest_teardownFunction · 0.45
quit_extra_driverMethod · 0.45
__quit_all_driversMethod · 0.45

Calls

no outgoing calls

Tested by 6

pytest_runtest_teardownFunction · 0.36
test_alertsMethod · 0.36
test_alertsMethod · 0.36
test_presentationMethod · 0.36