diff --git a/py/selenium/webdriver/firefox/webdriver.py b/py/selenium/webdriver/firefox/webdriver.py index 1cd39f721b3be..23a7c94a0f642 100644 --- a/py/selenium/webdriver/firefox/webdriver.py +++ b/py/selenium/webdriver/firefox/webdriver.py @@ -23,13 +23,14 @@ import shutil import socket import sys + from .firefox_binary import FirefoxBinary -from .service import Service +from .remote_connection import FirefoxRemoteConnection from selenium.webdriver.common.desired_capabilities import DesiredCapabilities from selenium.webdriver.firefox.extension_connection import ExtensionConnection -from .remote_connection import FirefoxRemoteConnection from selenium.webdriver.firefox.firefox_profile import FirefoxProfile from selenium.webdriver.remote.webdriver import WebDriver as RemoteWebDriver +from .service import Service class WebDriver(RemoteWebDriver): @@ -38,8 +39,7 @@ class WebDriver(RemoteWebDriver): NATIVE_EVENTS_ALLOWED = sys.platform != "darwin" def __init__(self, firefox_profile=None, firefox_binary=None, timeout=30, - capabilities=None, proxy=None, executable_path='wires'): - + capabilities=None, proxy=None, executable_path="wires"): self.binary = firefox_binary self.profile = firefox_profile