Chrome driver not working with TestComplete
TestComplete is not downloading the Chrome driver automatically
so I put the webdriver manually in C:\ProgramData\SmartBear\WebDrivers\chrome
and I am getting this error:
TestComplete failed to download the needed WebDriver.
You can download the chrome driver manually and put it in the <ProgramData>\SmartBear\WebDrivers\chrome folder.
My TC version is latest: 15.56.2.7 x64
My Chrome web browser version is: 117.0.5938.132 (64-bit)
But I am trying to launch Chrome headless via:
function launchHeadlessBrowser()
{
var server = "localhost";
var capabilities = {
"browserName": "chrome",
"screenResolution": "1920x1080"
};
Browsers.RemoteItem(server, capabilities).Run(Project.Variables.url);
}
TestComplete still isn't automatically downloading the Chrome webdriver like it is with Edge.
But if we download the webdriver from the web and add to the ProgramData folder, it does work. But the name of the driver needs to be chromedriver_119.exe (or whatever version you are using)