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

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

public PhantomJSDriver(
	string phantomJSDriverServerDirectory
)

Parameters

phantomJSDriverServerDirectory
Type: SystemString
The full path to the directory containing PhantomJS.exe.
See Also

Reference