EdgeWebDriver icon indicating copy to clipboard operation
EdgeWebDriver copied to clipboard

Edge 119.0.2151.44 disable DevTools logging

Open aeiplatform opened this issue 2 years ago • 2 comments

After updating Edge to version 119.0.2151.44 over the weekend, selenium started logging my browser junk again.

I am unable to disable DevTools logging:

options.add_experimental_option("excludeSwitches", ["enable-logging"])

Tried even some of the old ways:

options.add_argument('--disable-dev-shm-usage')
options.add_argument('--disable-logging')
options.add_argument("--log-level=3")
options.add_argument("--silent")

image

aeiplatform avatar Nov 06 '23 13:11 aeiplatform

Hi @aeiplatform , excluding the "enable-logging" switch should be all you need. Can you verify if the unwanted log output is still appearing on Edge 120?

bwalderman avatar Dec 15 '23 23:12 bwalderman

I upgraded to the latest version of Edge and the problem persists.

aeiplatform avatar Dec 16 '23 22:12 aeiplatform