webdriver.webkitgtk.webdriver

Module Contents

Classes

WebDriver(self,executable_path=”WebKitWebDriver”,port=0,options=None,desired_capabilities=None,service_log_path=None) Controls the WebKitGTKDriver and allows you to drive the browser.
class WebDriver(executable_path="WebKitWebDriver", port=0, options=None, desired_capabilities=None, service_log_path=None)

Controls the WebKitGTKDriver and allows you to drive the browser.

__init__(executable_path="WebKitWebDriver", port=0, options=None, desired_capabilities=None, service_log_path=None)

Creates a new instance of the WebKitGTK driver.

Starts the service and then creates new instance of WebKitGTK Driver.

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.
  • options : an instance of WebKitGTKOptions
  • desired_capabilities : Dictionary object with desired capabilities
  • service_log_path : Path to write service stdout and stderr output.
quit()

Closes the browser and shuts down the WebKitGTKDriver executable that is started when starting the WebKitGTKDriver