selenium-webdriver/safari~ Options

Configuration options specific to the SafariDriver.

Constructor

new Options(otheropt)

Parameters:
NameTypeAttributesDescription
otherCapabilities | Map.<string, ?> | Object<optional>

Another set of capabilities to initialize this instance from.

Methods

enableLogging() → {Options}

Enables diagnostic logging for Safari.

This method sets the safari:diagnose option to true in the current configuration. It is used to enable additional logging or diagnostic features specific to Safari.

Returns:

Returns the current instance

Type: 
Options

setTechnologyPreview(useTechnologyPreview) → (non-null) {Options}

Instruct the SafariDriver to use the Safari Technology Preview if true. Otherwise, use the release version of Safari. Defaults to using the release version of Safari.

Parameters:
NameTypeDescription
useTechnologyPreviewboolean
Returns:

A self reference.

Type: 
Options