Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in DevOps and Agile by (19.7k points)

I'm trying to run some Selenium tests using the ChromeDriver, and I started getting this error:

Starting ChromeDriver 2.23.409699 (49b0fa931cda1caad0ae15b7d1b68004acd05129) on port 42985

Only local connections are allowed.

Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: session not created exception

from unknown error: Runtime.executionContextCreated has invalid 'context': {"auxData":{"frameId":"7576.1","isDefault":true},"id":1,"name":"","origin":"://"}

  (Session info: chrome=54.0.2840.59)

  (Driver info: chromedriver=2.23.409699 (49b0fa931cda1caad0ae15b7d1b68004acd05129),platform=Windows NT 10.0.14393 x86_64) (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 2.48 seconds

Build info: version: 'unknown', revision: '2aa21c1', time: '2016-08-02 14:59:43 -0700'

System info: host: 'SUJITH', ip: '', 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_101'

Driver info:

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(

    at java.lang.reflect.Constructor.newInstance(

    at org.openqa.selenium.remote.ErrorHandler.createThrowable(

    at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(

    at org.openqa.selenium.remote.RemoteWebDriver.execute(

    at org.openqa.selenium.remote.RemoteWebDriver.startSession(

    at org.openqa.selenium.remote.RemoteWebDriver.<init>(

    at org.openqa.selenium.remote.RemoteWebDriver.<init>(




    at Selenium.Test2.main(

Why is this happening, and how can I fix it?

1 Answer

0 votes
by (62.9k points)

Update our chrome version using this link:

If you are interested to learn Selenium on a much deeper level and want to become a professional in the testing domain, check out Intellipaat’s online Selenium certification!

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers


94k users

Browse Categories