We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.testbench.annotations.
Package com.vaadin.testbench.annotations
Annotation Interface BrowserConfiguration
Methods annotated with BrowserConfiguration in test classes will be used to configure the browsers that are to be used for test cases in that class. Each test case is run on each of the browsers returned by the method.
Methods annotated with BrowserConfiguration annotation should return a
Collection
<DesiredCapabilities
>
Example:
@BrowserConfiguration
public List<DesiredCapabilities> firefoxAndChromeConfiguration() {
List<DesiredCapabilities> list = new ArrayList<DesiredCapabilities>();
list.add(Browser.FIREFOX.getDesiredCapabilities());
list.add(Browser.CHROME.getDesiredCapabilities());
return list;
}