MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / __exit__

Method __exit__

py/selenium/webdriver/remote/webdriver.py:323–329  ·  view source on GitHub ↗
(
        self,
        exc_type: type[BaseException] | None,
        exc: BaseException | None,
        traceback: types.TracebackType | None,
    )

Source from the content-addressed store, hash-verified

321 return self
322
323 def __exit__(
324 self,
325 exc_type: type[BaseException] | None,
326 exc: BaseException | None,
327 traceback: types.TracebackType | None,
328 ):
329 self.quit()
330
331 @contextmanager
332 def file_detector_context(self, file_detector_class, *args, **kwargs):

Callers

nothing calls this directly

Calls 1

quitMethod · 0.95

Tested by

no test coverage detected