IgnoreBrowserRule instead, which handles all browser-related
annotations.public class TestBrowserRule extends Object implements org.junit.rules.TestRule
TestBrowser annotation then the
webdriver.browser system property will be set to use to the
value of the annotation otherwise it will use the default value.
In order for this to be used in tests it requires that the test
creates the TestedProduct each test method execution using Before
or uses the TestedProductRule
If using the TestedProductRule ensure that it is defined
before this rule.
eg.
| Constructor and Description |
|---|
TestBrowserRule()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
Deprecated.
|
Copyright © 2015 Atlassian. All rights reserved.