Package org.openqa.selenium.phantomjs
Class CustomPhantomJSDriverServiceFactory
java.lang.Object
org.openqa.selenium.phantomjs.CustomPhantomJSDriverServiceFactory
public class CustomPhantomJSDriverServiceFactory extends Object
Substitution of PhantomJSDriverService#createDefaultService(Capabilities).
-
Method Summary
Modifier and Type Method Description static org.openqa.selenium.phantomjs.PhantomJSDriverServicecreateDefaultService(org.openqa.selenium.Capabilities desiredCapabilities)Configures and returns a newPhantomJSDriverServiceusing the default configuration without logging.
-
Method Details
-
createDefaultService
public static org.openqa.selenium.phantomjs.PhantomJSDriverService createDefaultService(org.openqa.selenium.Capabilities desiredCapabilities)Configures and returns a newPhantomJSDriverServiceusing the default configuration without logging.- Parameters:
desiredCapabilities- DesiredCapabilities object.- Returns:
- PhantomJSDriverService object.
- See Also:
PhantomJSDriverService.createDefaultService(Capabilities)
-