Skip to content

Commit 3dc8903

Browse files
[py] instance attributes in Timeout class are now being set through setter… (#12186)
instance attributes in Timeout class are now being set through setter method
1 parent a50bfe2 commit 3dc8903

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

py/selenium/webdriver/common/timeouts.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ def __init__(self, implicit_wait: float = 0, page_load: float = 0, script: float
4949
- script - Either an int or a float. The number passed in needs to how many
5050
seconds the driver will wait.
5151
"""
52-
self._implicit_wait = self._convert(implicit_wait)
53-
self._page_load = self._convert(page_load)
54-
self._script = self._convert(script)
52+
self.implicit_wait = implicit_wait
53+
self.page_load = page_load
54+
self.script = script
5555

5656
@property
5757
def implicit_wait(self) -> float:

0 commit comments

Comments
 (0)