| 256 | |
| 257 | |
| 258 | class ChromeDriver(BrowserDriver): |
| 259 | def __init__(self, hostname, port): |
| 260 | from selenium.webdriver.chrome.options import Options |
| 261 | |
| 262 | options = Options() |
| 263 | options.add_argument("--headless") |
| 264 | options.add_argument("--no-sandbox") |
| 265 | driver = webdriver.Chrome(options=options) |
| 266 | driver.command_executor._client_config.timeout = 1200 |
| 267 | super().__init__(hostname, port, driver) |
| 268 | |
| 269 | |
| 270 | class FirefoxDriver(BrowserDriver): |
no outgoing calls
no test coverage detected