Forum Discussion

Luukdb's avatar
Luukdb
Contributor
2 years ago

TestComplete cannot find chrome webdriver

Hello,

 

I am trying to get TestComplete to run headless tests. I am following this guide https://support.smartbear.com/testcomplete/docs/app-testing/web/supported-browsers/headless.html#local and I am running into the issue that TestComplete cannot download/see the needed WebDriver.

 

This is the JavaScript used in the guide.

function Test_Chrome_Headless()
{
  var server = "localhost";
  var capabilities = {
    "browserName": "chrome",
    "screenResolution": "1920x1080"
  };

  var url = "myurl";
  Browsers.RemoteItem(server, capabilities).Run(url);
}

 

I downloaded the chrome driver manually and created the path as shown above. But even with the driver in the correct location he cannot seem to open it. When I try to open the driver myself, it works.

Does anyone have an idea what I am doing wrong?

 

Kind regards,

Luuk