SafariDriverServer WaitForConnection Method WebDriver
Waits for a connection to be established with the server by the Safari browser extension.

Namespace: OpenQA.Selenium.Safari
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public SafariDriverConnection WaitForConnection(
	TimeSpan timeout
)

Parameters

timeout
Type: OnlineSystem TimeSpan
A OnlineTimeSpan containing the amount of time to wait for the connection.

Return Value

A SafariDriverConnection representing the connection to the browser.
See Also