(driver, script, timeout=settings.LARGE_TIMEOUT)
| 56 | |
| 57 | |
| 58 | def execute_async_script(driver, script, timeout=settings.LARGE_TIMEOUT): |
| 59 | if hasattr(driver, "set_script_timeout"): |
| 60 | driver.set_script_timeout(timeout) |
| 61 | if hasattr(driver, "execute_async_script"): |
| 62 | return driver.execute_async_script(script) |
| 63 | else: |
| 64 | return None |
| 65 | |
| 66 | |
| 67 | def wait_for_angularjs(driver, timeout=settings.LARGE_TIMEOUT, **kwargs): |
no test coverage detected
searching dependent graphs…