Returns DesiredCapabilities for PhantomJS with these options included as
capabilities. This copies the options. Further changes will not be
reflected in the returned capabilities.
Namespace: OpenQA.Selenium.PhantomJSAssembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax
public ICapabilities ToCapabilities()
Return Value
The DesiredCapabilities for PhantomJS with these options.See Also