Commit 3b6855b0 authored by Michael Droettboom's avatar Michael Droettboom

Update {chrome,firefox}_options to options

Selenium is saying:

/home/circleci/repo/pyodide-env/lib/python3.7/site-packages/selenium/webdriver/chrome/webdriver.py:50: DeprecationWarning: use options instead of chrome_options
  warnings.warn('use options instead of chrome_options', DeprecationWarning)
parent 98e37809
......@@ -129,7 +129,7 @@ class FirefoxWrapper(SeleniumWrapper):
self.JavascriptException = JavascriptException
return Firefox(
executable_path='geckodriver', firefox_options=options)
executable_path='geckodriver', options=options)
class ChromeWrapper(SeleniumWrapper):
......@@ -146,7 +146,7 @@ class ChromeWrapper(SeleniumWrapper):
self.JavascriptException = WebDriverException
return Chrome(chrome_options=options)
return Chrome(options=options)
if pytest is not None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment