TestProject Forum

Failed to create an instance of io.testproject.sdk.drivers.web.ChromeDriver

Hi, I am including TestProject in my existing TestNG framework, but I am getting the error org.openqa.selenium.WebDriverException: Failed to create an instance of io.testproject.sdk.drivers.web.ChromeDriver in the setup() method.

public void setup() throws MalformedURLException {

	driver = new DriverBuilder<ChromeDriver>(new ChromeOptions())
			   .withRemoteAddress(new URL("http://localhost:8585"))
			   .withToken("*****")
			   .build(ChromeDriver.class);

}

Hello, can you please send your agent logs to support@testproject.io

Hi, I don’t see the option to download the logs .

Your agent is stopped, you first need to start it to be able to download the logs.

Started the agent, its showing Running on the desktop, but on the Agents page the status is still displayed as Stopped.

Hello @swati.prasad18
You can find them under %appdata%\TestProject\Agent\logs
Please zip the logs folder and send them to support@testproject.io