diff --git a/py/selenium/webdriver/common/timeouts.py b/py/selenium/webdriver/common/timeouts.py index 9b701c2508bf0..82ce537e40cee 100644 --- a/py/selenium/webdriver/common/timeouts.py +++ b/py/selenium/webdriver/common/timeouts.py @@ -49,9 +49,9 @@ def __init__(self, implicit_wait: float = 0, page_load: float = 0, script: float - script - Either an int or a float. The number passed in needs to how many seconds the driver will wait. """ - self._implicit_wait = self._convert(implicit_wait) - self._page_load = self._convert(page_load) - self._script = self._convert(script) + self.implicit_wait = implicit_wait + self.page_load = page_load + self.script = script @property def implicit_wait(self) -> float: