selenium.webdriver.opera.webdriver

class selenium.webdriver.opera.service.Service(executable_path, port=0)[source]

Object that manages the starting and stopping of the OperaDriver

Creates a new instance of the Service

Args :
  • executable_path : Path to the OperaDriver
  • port : Port the service is running on
service_url[source]

Gets the url of the OperaDriver Service

start()[source]

Starts the OperaDriver Service.

Exceptions :
  • WebDriverException : Raised either when it can’t start the service or when it can’t connect to the service
stop()[source]

Tells the OperaDriver to stop and cleans up the process

This Page