Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to disable log DevTools listening... #140

Closed
JaLe29 opened this issue Jan 27, 2018 · 9 comments
Closed

How to disable log DevTools listening... #140

JaLe29 opened this issue Jan 27, 2018 · 9 comments

Comments

@JaLe29
Copy link

JaLe29 commented Jan 27, 2018

Hello,

how can I disable logs from chrome driver?

After start, I am getting some messages, for example:

DevTools listening on ws://127.0.0.1:12435/devtools/browser/87ee1f8a-39fe-4b50-85c4-5b3938d97e46

Thanks for help.

@mdbarr
Copy link

mdbarr commented Jan 27, 2018 via email

@JaLe29
Copy link
Author

JaLe29 commented Jan 27, 2018

Hi Mark,

thank you for your reply, but it doesn't work. I have still log message 'DevTools listening on ws:.....'

Full code:

                require('chromedriver')
                const webdriver = require('selenium-webdriver')
                const { By } = require('selenium-webdriver')

		const CHROME_OPTIONS = {
			'args': [
				'--disable-extensions',
			],
			'prefs': {
				'profile.managed_default_content_settings.images': 2,
			},
		}
		let chromeCapabilities = webdriver.Capabilities.chrome()
		chromeCapabilities.set('chromeOptions', CHROME_OPTIONS)

		this.driver = new webdriver.Builder()
			.forBrowser('chrome')
			.withCapabilities(chromeCapabilities)
			.build()
  "chromedriver": "^2.33.1",
  "selenium-webdriver": "^3.6.0"

Win 10, 64b.

@mdbarr
Copy link

mdbarr commented Jan 27, 2018 via email

@JaLe29
Copy link
Author

JaLe29 commented Jan 27, 2018

I tried all and problem is still the same.
Still 'DevTools listening on ws:....' in console :-(

@giggio
Copy link
Owner

giggio commented Feb 1, 2018

@JaLe29 this would be an issue with chromedriver itself, not with this package. This package only install chromedriver. I suggest you open an issue directly on their issue tracker.

@mohyeid
Copy link

mohyeid commented Aug 4, 2018

I am having the same issue. Did you have any luck?

@JaLe29
Copy link
Author

JaLe29 commented Aug 4, 2018

@mohyeid nope

@ArcherBG
Copy link

Has anyone found a working solution?

@giggio
Copy link
Owner

giggio commented Sep 20, 2018

Please discuss this on the Chromedriver repo, not this one.

Repository owner locked as off-topic and limited conversation to collaborators Sep 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants