Annotation Type Browser
-
@Retention(RUNTIME) @Target(TYPE) public @interface Browser
Browser configuration- Author:
- Bogdan Stefanescu
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Class<? extends DriverFactory>
factory
A custom factory to create WebDriver objects.BrowserFamily
type
The type of the browser to use.
-
-
-
Element Detail
-
type
BrowserFamily type
The type of the browser to use. Ignored if a factory is also specified. When the type is specified a default driver for that type will be automatically created.- Default:
- org.nuxeo.runtime.test.runner.web.BrowserFamily.HTML_UNIT
-
-
-
factory
Class<? extends DriverFactory> factory
A custom factory to create WebDriver objects. If a factory is specified thetype()
is ignored. Factories are good for customizing the driver creation in QA tests.- Default:
- org.nuxeo.runtime.test.runner.web.DriverFactory.class
-
-