PhantomJSDriver Constructor (String, PhantomJSOptions, TimeSpan)WebDriver
Initializes a new instance of the PhantomJSDriver class using the specified path to the directory containing PhantomJS.exe, options, and command timeout.

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

public PhantomJSDriver(
	string phantomJSDriverServerDirectory,
	PhantomJSOptions options,
	TimeSpan commandTimeout
)

Parameters

phantomJSDriverServerDirectory
Type: OnlineSystem String
The full path to the directory containing PhantomJS.exe.
options
Type: OpenQA.Selenium.PhantomJS PhantomJSOptions
The PhantomJSOptions used to initialize the driver.
commandTimeout
Type: OnlineSystem TimeSpan
The maximum amount of time to wait for each command.
See Also