Initializes a new instance of the PhantomJSDriver class using the specified
PhantomJSDriverService and options.
Namespace: OpenQA.Selenium.PhantomJSAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
public PhantomJSDriver( PhantomJSDriverService service, PhantomJSOptions options )
Parameters
- service
- Type: OpenQA.Selenium.PhantomJS PhantomJSDriverService
The PhantomJSDriverService to use.
- options
- Type: OpenQA.Selenium.PhantomJS PhantomJSOptions
The PhantomJSOptions used to initialize the driver.
See Also