How can I pass capabilities in Selenium 3 in junit framework?
Hi Emma-crepeau,
You can pass capabilities in Junit with selenium 3 with this format.
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("build", "your build name");
capabilities.setCapability("name", "your test name");
capabilities.setCapability("platform", "Windows 11");
capabilities.setCapability("browserName", "Chrome");
capabilities.setCapability("version","103.0");