MCPcopy Create free account
hub / github.com/apache/arrow / _make_driver

Method _make_driver

python/scripts/run_emscripten_tests.py:285–293  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

283class ChromeDriver(BrowserDriver):
284 @staticmethod
285 def _make_driver():
286 from selenium.webdriver.chrome.options import Options
287
288 options = Options()
289 options.add_argument("--headless")
290 options.add_argument("--no-sandbox")
291 driver = webdriver.Chrome(options=options)
292 driver.command_executor._client_config.timeout = 1200
293 return driver
294
295 def __init__(self, hostname, port):
296 super().__init__(hostname, port, self._make_driver())

Callers 2

__init__Method · 0.95
restart_browserMethod · 0.95

Calls 1

OptionsClass · 0.90

Tested by

no test coverage detected