parameters: (self, command_executor='http://127.0.0.1:4444/wd/hub',
          desired_capabilities=None, browser_profile=None, proxy=None)
docstring: Create a new driver that will issue commands using the wire protocol.
  
          :Args:
           - command_executor - Either a command.CommandExecutor object or a string that specifies the URL of a remote server to send commands to.
           - desired_capabilities - Dictionary holding predefined values for starting a browser
           - browser_profile - A selenium.webdriver.firefox.firefox_profile.FirefoxProfile object.  Only used if Firefox is requested.
docstring_summary: Create a new driver that will issue commands using the wire protocol.
docstring_tokens: Create a new driver that will issue commands using the wire protocol .
function: def __init__(self, command_executor='http://127.0.0.1:4444/wd/hub',
          desired_capabilities=None, browser_profile=None, proxy=None):
          """
          Create a new driver that will issue commands using the wire protocol.
  
          :Args:
           - command_executor - Either a command.CommandExecutor object or a string that specifies the URL of a remote server to send commands to.
           - desired_capabilities - Dictionary holding predefined values for starting a browser
           - browser_profile - A selenium.webdriver.firefox.firefox_profile.FirefoxProfile object.  Only used if Firefox is requested.
          """
          if desired_capabilities is None:
              raise WebDriverException("Desired Capabilities can't be None")
          if not isinstance(desired_capabilities, dict):
              raise WebDriverException("Desired Capabilities must be a dictionary")
          if proxy is not None:
              proxy.add_to_capabilities(desired_capabilities)
          self.command_executor = command_executor
          if type(self.command_executor) is str or type(self.command_executor) is unicode:
              self.command_executor = RemoteConnection(command_executor)
          self._is_remote = True
          self.session_id = None
          self.capabilities = {}
          self.error_handler = ErrorHandler()
          self.start_client()
          self.start_session(desired_capabilities, browser_profile)
function_tokens: def __init__ ( self , command_executor = 'http://127.0.0.1:4444/wd/hub' , desired_capabilities = None , browser_profile = None , proxy = None ) : if desired_capabilities is None : raise WebDriverException ( "Desired Capabilities can't be None" ) if not isinstance ( desired_capabilities , dict ) : raise WebDriverException ( "Desired Capabilities must be a dictionary" ) if proxy is not None : proxy . add_to_capabilities ( desired_capabilities ) self . command_executor = command_executor if type ( self . command_executor ) is str or type ( self . command_executor ) is unicode : self . command_executor = RemoteConnection ( command_executor ) self . _is_remote = True self . session_id = None self . capabilities = { } self . error_handler = ErrorHandler ( ) self . start_client ( ) self . start_session ( desired_capabilities , browser_profile )