Initializes a new instance of the PhantomJSDriver class using the specified path
to the directory containing PhantomJS.exe and options.
Namespace: OpenQA.Selenium.PhantomJSAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
public PhantomJSDriver( string phantomJSDriverServerDirectory, PhantomJSOptions options )
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.
See Also