Skip to content

Commit

Permalink
[py]: call no arg __init__ in WebDriverException
Browse files Browse the repository at this point in the history
  • Loading branch information
symonk committed Oct 5, 2022
1 parent a793b3a commit 6479063
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions py/selenium/common/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class WebDriverException(Exception):
def __init__(
self, msg: Optional[str] = None, screen: Optional[str] = None, stacktrace: Optional[Sequence[str]] = None
) -> None:
super().__init__()
self.msg = msg
self.screen = screen
self.stacktrace = stacktrace
Expand Down

0 comments on commit 6479063

Please sign in to comment.