Constructor
new Options(otheropt)
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
other | Capabilities | | <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:
| Name | Type | Description |
|---|---|---|
useTechnologyPreview | boolean |
Returns:
A self reference.
- Type:
- Options