| 253 | |
| 254 | |
| 255 | class ChromeDriver(BrowserDriver): |
| 256 | def __init__(self, hostname, port): |
| 257 | from selenium.webdriver.chrome.options import Options |
| 258 | |
| 259 | options = Options() |
| 260 | options.add_argument("--headless") |
| 261 | options.add_argument("--no-sandbox") |
| 262 | super().__init__(hostname, port, webdriver.Chrome(options=options)) |
| 263 | |
| 264 | |
| 265 | class FirefoxDriver(BrowserDriver): |
no outgoing calls
no test coverage detected