webdriver.opera.webdriver

Module Contents

Classes

OperaDriver(self,executable_path=None,port=0,options=None,service_args=None,desired_capabilities=None,service_log_path=None,opera_options=None) Controls the new OperaDriver and allows you
WebDriver(self,desired_capabilities=None,executable_path=None,port=0,service_log_path=None,service_args=None,options=None)
class OperaDriver(executable_path=None, port=0, options=None, service_args=None, desired_capabilities=None, service_log_path=None, opera_options=None)

Controls the new OperaDriver and allows you to drive the Opera browser based on Chromium.

__init__(executable_path=None, port=0, options=None, service_args=None, desired_capabilities=None, service_log_path=None, opera_options=None)

Creates a new instance of the operadriver.

Starts the service and then creates new instance of operadriver.

Args:
  • executable_path - path to the executable. If the default is used
    it assumes the executable is in the $PATH
  • port - port you would like the service to run, if left as 0,
    a free port will be found.
  • desired_capabilities: Dictionary object with non-browser specific capabilities only, such as “proxy” or “loggingPref”.
  • options: this takes an instance of ChromeOptions
create_options()
class WebDriver(desired_capabilities=None, executable_path=None, port=0, service_log_path=None, service_args=None, options=None)
class ServiceType
__init__(desired_capabilities=None, executable_path=None, port=0, service_log_path=None, service_args=None, options=None)