Hi all.
I have setUp class like this:
@Parameters({"browserType"})
@BeforeClass
@Override
public void setUp(String browserType) {
switch (browserType) {
case "edge":
Configuration.browser = "edge";
break;
case "firefox":
Configuration.browser = "firefox";
break;
case "safari":
Configuration.browser = "safari";
break;
case "chrome":
default:
Configuration.browser = "chrome";
break;
}
Configuration.remote = HUB_URL;
Configuration.timeout = 30000;
Configuration.startMaximized = true;
}
How can I run my tests in different browsers (firefox and chrome for example) at the same time?
I know that Configuration.browser is static