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

Method __init__

py/selenium/common/exceptions.py:29–38  ·  view source on GitHub ↗
(
        self,
        msg: Any | None = None,
        screen: str | None = None,
        stacktrace: Sequence[str] | None = None,
    )

Source from the content-addressed store, hash-verified

27 """Base webdriver exception."""
28
29 def __init__(
30 self,
31 msg: Any | None = None,
32 screen: str | None = None,
33 stacktrace: Sequence[str] | None = None,
34 ) -> None:
35 super().__init__()
36 self.msg = msg
37 self.screen = screen
38 self.stacktrace = stacktrace
39
40 def __str__(self) -> str:
41 exception_msg = f"Message: {self.msg}\n"

Callers 10

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected