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

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
)

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.
See Also