ronyshkiv
2 years agoNew Contributor
Selenium connection issue
Hi all,
We are selenide and BitBar in our testing project. Our configuration looks like:
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("platform", "platform");
capabilities.setCapability("osVersion", "version");
capabilities.setCapability("browserName", "browser");
capabilities.setCapability("version", "browser_version");
capabilities.setCapability("resolution", "resolution");
capabilities.setCapability("bitbar_apiKey", "key");
capabilities.setCapability("bitbar_project", "project");
capabilities.setCapability("bitbar_testrun", "tun");
RemoteWebDriver remoteDriver = new RemoteWebDriver(new URL(HUB_URL), capabilities);
WebDriverRunner.setWebDriver(remoteDriver);
Tunnel is starting in BeforeSuite step
String command = ".\SBSecureTunnel.exe --username 'user' --authkey 'key' --ready tunnel-ready.tmp";
Runtime.getRuntime().exec(command);
I can see that tunnel is up (checked in bitbar portal), but browser not started, and project not created in bitbar portal.
Any suggestions? Am I doing something wrong?