Skip to content

Commit 043c8da

Browse files
committed
Update browser launcher for Firefox
1 parent 0fe9fc5 commit 043c8da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

seleniumbase/core/browser_launcher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,13 +257,13 @@ def get_local_driver(browser_name, headless, proxy_string):
257257
firefox_driver = webdriver.Firefox(
258258
firefox_profile=profile,
259259
capabilities=firefox_capabilities,
260-
firefox_options=options,
260+
options=options,
261261
executable_path=LOCAL_GECKODRIVER)
262262
else:
263263
firefox_driver = webdriver.Firefox(
264264
firefox_profile=profile,
265265
capabilities=firefox_capabilities,
266-
firefox_options=options)
266+
options=options)
267267
except WebDriverException:
268268
# Don't use Geckodriver: Only works for old versions of Firefox
269269
profile = _create_firefox_profile(downloads_path, proxy_string)

0 commit comments

Comments
 (0)