Commit 9ee69d18 authored by Roman Yurchak's avatar Roman Yurchak Committed by GitHub

Merge pull request #151 from mdboom/fix-warnings

MAINT: Update {chrome,firefox}_options to options
parents 1a3166f0 3b6855b0
...@@ -129,7 +129,7 @@ class FirefoxWrapper(SeleniumWrapper): ...@@ -129,7 +129,7 @@ class FirefoxWrapper(SeleniumWrapper):
self.JavascriptException = JavascriptException self.JavascriptException = JavascriptException
return Firefox( return Firefox(
executable_path='geckodriver', firefox_options=options) executable_path='geckodriver', options=options)
class ChromeWrapper(SeleniumWrapper): class ChromeWrapper(SeleniumWrapper):
...@@ -146,7 +146,7 @@ class ChromeWrapper(SeleniumWrapper): ...@@ -146,7 +146,7 @@ class ChromeWrapper(SeleniumWrapper):
self.JavascriptException = WebDriverException self.JavascriptException = WebDriverException
return Chrome(chrome_options=options) return Chrome(options=options)
if pytest is not None: 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