-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
Comments
Add --disable-extensions to the set of chrome args to disable the devtools.
If you are using protractor, that would go into the config file as follows:
exports.config = {
directConnect: true,
capabilities: {
browserName: 'chrome',
chromeOptions: {
args: [
'--disable-extensions'
Thanks,
-Mark
|
Hi Mark, thank you for your reply, but it doesn't work. I have still log message 'DevTools listening on ws:.....' Full code:
Win 10, 64b. |
It could be one of these other options, the full set we use in our testing
is:
'--ignore-gpu-blacklist',
'--no-default-browser-check',
'--no-first-run',
'--disable-default-apps',
'--disable-infobars',
'--disable-extensions',
'--test-type'
Thanks,
-Mark
…On Sat, Jan 27, 2018 at 6:01 PM, JaLe ***@***.***> wrote:
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.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#140 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGPz3TCo4K7lHt0LicXEaf7PbNpKhvGBks5tO6q4gaJpZM4Rvcue>
.
|
I tried all and problem is still the same. |
@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. |
I am having the same issue. Did you have any luck? |
@mohyeid nope |
Has anyone found a working solution? |
Please discuss this on the Chromedriver repo, not this one. |
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.
The text was updated successfully, but these errors were encountered: