selenium-webdriver/safari~ Driver

A WebDriver client for Safari. This class should never be instantiated directly; instead, use the Builder:

var driver = new Builder()
    .forBrowser('safari')
    .build();

Constructor

new Driver()

Methods

(static) createSession(optionsopt) → (non-null) {Driver}

Creates a new Safari session.

Parameters:
NameTypeAttributesDescription
optionsOptions | Capabilities<optional>

The configuration options.

Returns:

A new driver instance.

Type: 
Driver