Common Issues and Resolutions

Modified on Fri, 12 Dec at 4:19 PM

Selenium DevTools CDP Error

Issue: When using CDP actions for network tab, console, etc., if you get an error like:


common.CustomException: You are using a no-op implementation of the CDP. 

The most likely reason for this is that Selenium was unable to find an implementation 

of the CDP protocol that matches your browser. Please be sure to include an implementation 

on the classpath, possibly by adding a new (maven) dependency of 

org.seleniumhq.selenium:selenium-devtools-vNN:4.19.1 

where NN matches the major version of the browser you're using.

Build info: version: '4.19.1', revision: 'abe0ee07dc'

System info: os.name: 'Windows 11', os.arch: 'amd64', os.version: '10.0', java.version: '23.0.1'

Driver info: DevTools Connection


Resolution:Then that means there is a compatibility issue between the Selenium version and the Chrome (CDP) version.
Go to the link below and check the Selenium version compatibility with the CDP version. Update the Selenium version in your pom.xml accordingly:


https://github.com/SeleniumHQ/selenium/blob/trunk/java/CHANGELOG






Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article