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.PhantomJSAssembly: 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:
System 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:
System TimeSpan
The maximum amount of time to wait for each command.
See Also