Forum Discussion

ORA's avatar
New Contributor
3 years ago

org.openqa.selenium.SessionNotCreatedException: Could not start a new session

I'm trying to execute a groovy script on readyAPI pro, to start a selenium test :

I'm referring to the steps on

import org.openqa.selenium.firefox.FirefoxDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.WebDriver
import org.openqa.selenium.By;

System.setProperty("", "C:/Program Files/SmartBear/ReadyAPI-3.10.1/bin/Drivers/chromedriver.exe");''))

WebDriver driver = new ChromeDriver()

// Navigate to the ReadyAPI documentation
// Close the browser


Then I get this error:

org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure. Build info: version: '4.0.0', revision: '3a21814679' System info: host: 'WDL0000036', ip: '', 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '16.0.1' Driver info: Command: [null, newSession {capabilities=[Capabilities {browserName: chrome, goog:chromeOptions: {args: [], extensions: []}}], desiredCapabilities=Capabilities {browserName: chrome, goog:chromeOptions: {args: [], extensions: []}}}] error at line: 10


Any help is welcome!

Kind regards


  • Hi ORA and lavnyaup I checked with the dev team, unfortunately, this new version of Selenium seems to be incompatible with ReadyAPI. The dev team is looking into how this can be solved.

3 Replies