We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffe766e commit dfc66f4Copy full SHA for dfc66f4
src/SeleniumTestability/plugin.py
@@ -199,9 +199,9 @@ def __init__(
199
self.js_bundle = join(self.CWD, "js", "testability.js")
200
self.ctx.event_firing_webdriver = TestabilityListener
201
self.ctx.testability_settings = {"testability": self}
202
- self.automatic_wait = automatic_wait
203
- self.automatic_injection = automatic_injection
204
- self.error_on_timeout = error_on_timeout
+ self.automatic_wait = is_truthy(automatic_wait)
+ self.automatic_injection = is_truthy(automatic_injection)
+ self.error_on_timeout = is_truthy(error_on_timeout)
205
self.timeout = timeout # type: ignore
206
self.hidden_elements = {} # type: Dict[str, str]
207
self.browser_warn_shown = False
0 commit comments