I'm trying to connect to a qt application using webdriver-io and It is not able to access the port and does not communicate with the qt part of the application. I could get it to work with Java using the below setup.
// Setup QtWebDriver
DesiredCapabilities capabilityQt = DesiredCapabilities.chrome();
capabilityQt.setCapability("browserStartWindow", "*");
// Run QtWebDriver
WebDriver driverQt = new RemoteWebDriver(new URL("http://localhost:9517"), capabilityQt);
Can someone provide me a javascript equivalent I tried this using selenium-webdriver js but I couldn't get it to work.
qtDriver: {
desiredCapabilities: {
browserName: 'chrome',
browserStartWindow: '*'},
port: 9517,
host: 'localhost'}
but it doesn't help.