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

Method __exit__

py/selenium/webdriver/remote/webdriver.py:382–388  ·  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

380 return self
381
382 def __exit__(
383 self,
384 exc_type: type[BaseException] | None,
385 exc: BaseException | None,
386 traceback: types.TracebackType | None,
387 ):
388 self.quit()
389
390 @contextmanager
391 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