@Retention(value=RUNTIME) @Target(value=TYPE) public @interface Browser
Modifier and Type | Optional Element and Description |
---|---|
Class<? extends DriverFactory> |
factory
A custom factory to create WebDriver objects.
|
BrowserFamily |
type
The type of the browser to use.
|
public abstract BrowserFamily type
public abstract Class<? extends DriverFactory> factory
type()
is ignored.
Factories are good for customizing the driver creation in QA tests.Copyright © 2013 Nuxeo SA. All Rights Reserved.