||Controls the SafariDriver and allows you to drive the browser.|
WebDriver(port=0, executable_path="/usr/bin/safaridriver", desired_capabilities=None, quiet=False)¶
Controls the SafariDriver and allows you to drive the browser.
__init__(port=0, executable_path="/usr/bin/safaridriver", desired_capabilities=None, quiet=False)¶
Creates a new instance of the Safari driver.
Starts the service and then creates new instance of Safari Driver.
- port - port you would like the service to run, if left as 0, a free port will be found.
- desired_capabilities: Dictionary object with desired capabilities (Can be used to provide various Safari switches).
- quiet - set to True to suppress stdout and stderr of the driver
Closes the browser and shuts down the SafariDriver executable that is started when starting the SafariDriver