JavaEar 专注于收集分享传播有价值的技术资料

Python selenium: DevTools listening on ws://

Today I got this message on the console when running selenium using the chromedriver. How do I suppress this?

DevTools listening on ws://

Relevant code:

from selenium import webdriver
driver = webdriver.Chrome(executable_path='c:/bin/chromedriver233')

I get the same message using version 2.30 of chromedriver.

I have not previously received this message. The only change I've made is updating chrome to Version 62.0.3202.94 (Official Build) (64-bit)

Python 3.6.3 64, selenium 3.4.3, Windows 7 64.

EDIT: I posted a question to the Chrome product forum at!topic/chrome/Dlk2j_JpmxE;context-place=forum/chrome


  1. Not sure if you are aware but try:


    Mind you I'm using headless, though I believe you could configure this for normal browser. It feels better :). I was amazed at how annoying that notification message was.