SOLVED

msedge chromium headless very chatty, where is the options

%3CLINGO-SUB%20id%3D%22lingo-sub-1122126%22%20slang%3D%22en-US%22%3Emsedge%20chromium%20headless%20very%20chatty%2C%20where%20is%20the%20options%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1122126%22%20slang%3D%22en-US%22%3E%3CP%3EWhere%20can%20I%20find%20the%20settings%20to%20make%20msedgedriver.exe%20less%20chatty%20in%20headless%20mode%3F%20is%20it%20compiled%20in%20debug%20mode%3F%20Really%20like%20to%20turn%20it%20off.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20use%20the%20following%20driver%20settings%20with%20python%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%20%20%20%20%20%20%20%20elif%20os.environ%5B'WEBDRIVER'%5D%20%3D%3D%20'Edge'%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20options%20%3D%20webdriver.ChromeOptions()%0A%20%20%20%20%20%20%20%20%20%20%20%20options.add_argument('--disable-infobars')%0A%20%20%20%20%20%20%20%20%20%20%20%20options.binary_location%20%3D%20%22C%3A%5C%5CProgram%20Files%20(x86)%5C%5CMicrosoft%5C%5CEdge%5C%5CApplication%5C%5Cmsedge.exe%22%0A%20%20%20%20%20%20%20%20%20%20%20%20driver%20%3D%20webdriver.Chrome(options%3Doptions%2C%20executable_path%3D%22msedgedriver.exe%22)%0A%20%20%20%20%20%20%20%20elif%20os.environ%5B'WEBDRIVER'%5D%20%3D%3D%20'EdgeHeadless'%3A%0A%20%20%20%20%20%20%20%20%20%20%20%20options%20%3D%20webdriver.ChromeOptions()%0A%20%20%20%20%20%20%20%20%20%20%20%20options.add_argument('--headless')%0A%20%20%20%20%20%20%20%20%20%20%20%20options.binary_location%20%3D%20%22C%3A%5C%5CProgram%20Files%20(x86)%5C%5CMicrosoft%5C%5CEdge%5C%5CApplication%5C%5Cmsedge.exe%22%0A%20%20%20%20%20%20%20%20%20%20%20%20driver%20%3D%20webdriver.Chrome(options%3Doptions%2C%20executable_path%3D%22msedgedriver.exe%22)%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ehere%20is%20the%20output%2C%20the%20first%20is%20edge%20chromium%20non%20headless%2C%20while%20the%202nd%20is%20edge%20chromium%20headless%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%2Fc%2FSharedArea%2Fdrivers%2Fmsedgedriver%0A%0ADevTools%20listening%20on%20ws%3A%2F%2F127.0.0.1%3A58082%2Fdevtools%2Fbrowser%2Fe50c2d9c-a27f-4458-9975-d51eab72cf08%0A20200122-111127%7CINFO%7CC%3A%5Cdist%5Cwork%5Cselenium-allbrowsers%5Ctools%5Cseleniumtools.py%3A23%7Cscreenshot%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.vg.no%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.vg.no%2F%3C%2FA%3E%20-%26gt%3B%20Edge-screen.png%0A%2Fc%2FSharedArea%2Fdrivers%2Fmsedgedriver%0A%0ADevTools%20listening%20on%20ws%3A%2F%2F127.0.0.1%3A58176%2Fdevtools%2Fbrowser%2F167d0fc4-9100-4b0f-b27f-274356543993%0A%5B0122%2F111145.432%3AINFO%3ACONSOLE(0)%5D%20%22Images%20loaded%20lazily%20and%20replaced%20with%20placeholders.%20Load%20events%20are%20deferred.%20See%20%3CA%20href%3D%22https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3Flinkid%3D2048113%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3Flinkid%3D2048113%3C%2FA%3E%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.vg.no%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.vg.no%2F%3C%2FA%3E%20(0)%0A%5B0122%2F111145.434%3AINFO%3ACONSOLE(0)%5D%20%22An%20%3CIMG%20%2F%3E%20element%20was%20lazyloaded%20with%20loading%3Dlazy%2C%20but%20had%20no%20dimensions%20specified.%20Specifying%20dimensions%20improves%20performance.%20See%20%3CA%20href%3D%22https%3A%2F%2Fcrbug.com%2F954323%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcrbug.com%2F954323%3C%2FA%3E%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.vg.no%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.vg.no%2F%3C%2FA%3E%20(0)%0A%5B0122%2F111145.773%3AINFO%3ACONSOLE(1)%5D%20%22AST%20library%20loaded%3A%200.27.1%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.vg.no%2Fvgc%2Fcdn%2Fjs%2Flibs%2Fast%2F0.27.1%2Fast.js%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.vg.no%2Fvgc%2Fcdn%2Fjs%2Flibs%2Fast%2F0.27.1%2Fast.js%3C%2FA%3E%20(1)%0A%5B0122%2F111146.188%3AINFO%3ACONSOLE(0)%5D%20%22A%20cookie%20associated%20with%20a%20cross-site%20resource%20at%20%3CA%20href%3D%22http%3A%2F%2Fwww.vg.no%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.vg.no%2F%3C%2FA%3E%20was%20set%20without%20the%20%60SameSite%60%20attribute.%20A%20future%20release%20of%20Microsoft%20Edge%20will%20only%20deliver%20cookies%20with%20cross-site%20requests%20if%20they%20are%20set%20with%20%60SameSite%3DNone%60.%20You%20can%20review%20cookies%20in%20%0Adeveloper%20tools%20under%20Application%26gt%3BStorage%26gt%3BCookies%20and%20see%20more%20details%20at%20%3CA%20href%3D%22https%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5088147346030592%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5088147346030592%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5633521622188032%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5633521622188032%3C%2FA%3E.%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.vg.no%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.vg.no%2F%3C%2FA%3E%20(0)%0A%5B0122%2F111146.194%3AINFO%3ACONSOLE(0)%5D%20%22A%20cookie%20associated%20with%20a%20resource%20at%20%3CA%20href%3D%22http%3A%2F%2Fadnxs.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fadnxs.com%2F%3C%2FA%3E%20was%20set%20with%20%60SameSite%3DNone%60%20but%20without%20%60Secure%60.%20A%20future%20release%20of%20Microsoft%20Edge%20will%20only%20deliver%20cookies%20marked%20%60SameSite%3DNone%60%20if%20they%20are%20also%20marked%20%60Secure%60.%20You%20can%20review%20cookies%20in%20developer%20tools%20under%20Application%26gt%3BStorage%26gt%3BCookies%20and%20see%20more%20details%20at%20%3CA%20href%3D%22https%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5633521622188032%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5633521622188032%3C%2FA%3E.%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.vg.no%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.vg.no%2F%3C%2FA%3E%20(0)%0A%5B0122%2F111147.152%3AINFO%3ACONSOLE(0)%5D%20%22A%20cookie%20associated%20with%20a%20cross-site%20resource%20at%20%3CA%20href%3D%22http%3A%2F%2Facdn.adnxs.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Facdn.adnxs.com%2F%3C%2FA%3E%20was%20set%20without%20the%20%60SameSite%60%20attribute.%20A%20future%20release%20of%20Microsoft%20Edge%20will%20only%20deliver%20cookies%20with%20cross-site%20requests%20if%20they%20are%20set%20with%20%60SameSite%3DNone%60.%20You%20can%20review%20cookies%20in%20developer%20tools%20under%20Application%26gt%3BStorage%26gt%3BCookies%20and%20see%20more%20details%20at%20%3CA%20href%3D%22https%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5088147346030592%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5088147346030592%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5633521622188032%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5633521622188032%3C%2FA%3E.%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.vg.no%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.vg.no%2F%3C%2FA%3E%20(0)%0A%5B0122%2F111147.289%3AINFO%3ACONSOLE(0)%5D%20%22A%20cookie%20associated%20with%20a%20resource%20at%20%3CA%20href%3D%22http%3A%2F%2Fdoubleclick.net%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fdoubleclick.net%2F%3C%2FA%3E%20was%20set%20with%20%60SameSite%3DNone%60%20but%20without%20%60Secure%60.%20A%20future%20release%20of%20Microsoft%20Edge%20will%20only%20deliver%20cookies%20marked%20%60SameSite%3DNone%60%20if%20they%20are%20also%20marked%20%60Secure%60.%20You%20can%20review%20cookies%20in%20developer%20tools%20under%20Application%26gt%3BStorage%26gt%3BCookies%20and%20see%20more%20details%20at%20%3CA%20href%3D%22https%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5633521622188032%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5633521622188032%3C%2FA%3E.%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.vg.no%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.vg.no%2F%3C%2FA%3E%20(0)%0A%5B0122%2F111147.455%3AINFO%3ACONSOLE(0)%5D%20%22A%20cookie%20associated%20with%20a%20cross-site%20resource%20at%20%3CA%20href%3D%22http%3A%2F%2Fadnxs.com%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fadnxs.com%2F%3C%2FA%3E%20was%20set%20without%20the%20%60SameSite%60%20attribute.%20A%20future%20release%20of%20Microsoft%20Edge%20will%20only%20deliver%20cookies%20with%20cross-site%20requests%20if%20they%20are%20set%20with%20%60SameSite%3DNone%60.%20You%20can%20review%20cookies%20in%20%0Adeveloper%20tools%20under%20Application%26gt%3BStorage%26gt%3BCookies%20and%20see%20more%20details%20at%20%3CA%20href%3D%22https%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5088147346030592%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5088147346030592%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5633521622188032%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5633521622188032%3C%2FA%3E.%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.vg.no%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.vg.no%2F%3C%2FA%3E%20(0)%0A%5B0122%2F111147.875%3AINFO%3ACONSOLE(2)%5D%20%22anx-mediation%20%25cCONTINUE%20color%3A%20orange%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Facdn.adnxs.com%2Fast%2Fmediation%2F0.27.1%2Fmediation.js%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Facdn.adnxs.com%2Fast%2Fmediation%2F0.27.1%2Fmediation.js%3C%2FA%3E%20(2)%0A%5B0122%2F111147.910%3AINFO%3ACONSOLE(2)%5D%20%22anx-mediation%3A%20%20INIT%20--%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Facdn.adnxs.com%2Fast%2Fmediation%2F0.27.1%2Fmediation.js%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Facdn.adnxs.com%2Fast%2Fmediation%2F0.27.1%2Fmediation.js%3C%2FA%3E%20(2)%0A%5B0122%2F111148.231%3AINFO%3ACONSOLE(2)%5D%20%22anx-mediation%3A%20%20NOBID%20628ms%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Facdn.adnxs.com%2Fast%2Fmediation%2F0.27.1%2Fmediation.js%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Facdn.adnxs.com%2Fast%2Fmediation%2F0.27.1%2Fmediation.js%3C%2FA%3E%20(2)%0A%5B0122%2F111148.250%3AINFO%3ACONSOLE(2)%5D%20%22console.groupEnd%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Facdn.adnxs.com%2Fast%2Fmediation%2F0.27.1%2Fmediation.js%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Facdn.adnxs.com%2Fast%2Fmediation%2F0.27.1%2Fmediation.js%3C%2FA%3E%20(2)%0A%5B0122%2F111148.381%3AINFO%3ACONSOLE(2)%5D%20%22anx-mediation%3A%20%25cCONTINUE%20%25ccreative%20ids%20131072012%20color%3A%20orange%20color%3A%20black%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Facdn.adnxs.com%2Fast%2Fmediation%2F0.27.1%2Fmediation.js%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Facdn.adnxs.com%2Fast%2Fmediation%2F0.27.1%2Fmediation.js%3C%2FA%3E%20(2)%0A%5B0122%2F111148.521%3AINFO%3ACONSOLE(2)%5D%20%22anx-mediation%3A%20%20CONTINUE%20628ms%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Facdn.adnxs.com%2Fast%2Fmediation%2F0.27.1%2Fmediation.js%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Facdn.adnxs.com%2Fast%2Fmediation%2F0.27.1%2Fmediation.js%3C%2FA%3E%20(2)%0A%5B0122%2F111148.522%3AINFO%3ACONSOLE(2)%5D%20%22console.groupEnd%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Facdn.adnxs.com%2Fast%2Fmediation%2F0.27.1%2Fmediation.js%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Facdn.adnxs.com%2Fast%2Fmediation%2F0.27.1%2Fmediation.js%3C%2FA%3E%20(2)%0A%5B0122%2F111148.523%3AINFO%3ACONSOLE(2)%5D%20%22console.groupEnd%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Facdn.adnxs.com%2Fast%2Fmediation%2F0.27.1%2Fmediation.js%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Facdn.adnxs.com%2Fast%2Fmediation%2F0.27.1%2Fmediation.js%3C%2FA%3E%20(2)%0A%5B0122%2F111148.565%3AINFO%3ACONSOLE(0)%5D%20%22A%20cookie%20associated%20with%20a%20cross-site%20resource%20at%20%3CA%20href%3D%22http%3A%2F%2Ftrack.adform.net%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Ftrack.adform.net%2F%3C%2FA%3E%20was%20set%20without%20the%20%60SameSite%60%20attribute.%20A%20future%20release%20of%20Microsoft%20Edge%20will%20only%20deliver%20cookies%20with%20cross-site%20requests%20if%20they%20are%20set%20with%20%60SameSite%3DNone%60.%20You%20can%20review%20cookies%20in%20developer%20tools%20under%20Application%26gt%3BStorage%26gt%3BCookies%20and%20see%20more%20details%20at%20%3CA%20href%3D%22https%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5088147346030592%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5088147346030592%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5633521622188032%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5633521622188032%3C%2FA%3E.%22%2C%20source%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.vg.no%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.vg.no%2F%3C%2FA%3E%20(0)%0A20200122-111148%7CINFO%7CC%3A%5Cdist%5Cwork%5Cselenium-allbrowsers%5Ctools%5Cseleniumtools.py%3A23%7Cscreenshot%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.vg.no%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.vg.no%2F%3C%2FA%3E%20-%26gt%3B%20EdgeHeadless-screen.png%0A%5B0122%2F111148.755%3AINFO%3ACONSOLE(0)%5D%20%22A%20cookie%20associated%20with%20a%20cross-site%20resource%20at%20%3CA%20href%3D%22http%3A%2F%2Fadform.net%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fadform.net%2F%3C%2FA%3E%20was%20set%20without%20the%20%60SameSite%60%20attribute.%20A%20future%20release%20of%20Microsoft%20Edge%20will%20only%20deliver%20cookies%20with%20cross-site%20requests%20if%20they%20are%20set%20with%20%60SameSite%3DNone%60.%20You%20can%20review%20cookies%20in%20developer%20tools%20under%20Application%26gt%3BStorage%26gt%3BCookies%20and%20see%20more%20details%20at%20%3CA%20href%3D%22https%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5088147346030592%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F5088147346030592%3C%2FA%3E%20and%20%3CA%20href%3D%22https%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.chromestatus.com%2Ffeature%2F%3C%2FA%3E%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1123947%22%20slang%3D%22en-US%22%3ERe%3A%20msedge%20chromium%20headless%20very%20chatty%2C%20where%20is%20the%20options%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1123947%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F318459%22%20target%3D%22_blank%22%3E%40johnjansen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EUsing%20the%20canary%20browser%20v81.0.401.0%20with%20the%20latest%20canary%20driver%20worked%20fine%2C%20I%20was%20using%20the%20follwing%20in%20stable%3A%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E%20%20%20%20%22msedge%22%3A%20%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22webdriverver%22%3A%20%20%2279.0.313.0%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22path%22%3A%20%20%22C%3A%5C%5CProgram%20Files%20(x86)%5C%5CMicrosoft%5C%5CEdge%5C%5CApplication%5C%5Cmsedge.exe%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22webdriverpath%22%3A%20%20%22C%3A%5C%5CSharedArea%5C%5Cdrivers%5C%5Cmsedgedriver.exe%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22webdriver%22%3A%20%20%22msedgedriver.exe%22%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22check%22%3A%20%20true%2C%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%22ver%22%3A%20%20%2279.0.309.68%22%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%7D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20not%20completely%20sure%20about%20the%20versioning%20some%20need%20to%20match%20the%203%20first%26nbsp%3B%20tuples%2C%20but%20others%20work.%3C%2FP%3E%3CP%3EChrome%20is%20using%20to%20the%20first%202%20tuples%2C%20while%20Firefox%20and%20Opera%20does%20not%20have%20any%20rules%2C%20just%20testing%20and%20appending%20a%20check%3Dtrue%20if%20they%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1123910%22%20slang%3D%22en-US%22%3ERe%3A%20msedge%20chromium%20headless%20very%20chatty%2C%20where%20is%20the%20options%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1123910%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F528208%22%20target%3D%22_blank%22%3E%40mortenb123%3C%2FA%3E%26nbsp%3Bhello%20there%2C%20thanks%20for%20the%20details%20of%20your%20issue.%20I%20am%20not%20seeing%20this%20much%20noise%20when%20I%20run%20Edge%20via%20the%20MSEdgeDriver.exe%20and%20use%20the%20EdgeOptions()%20and%20EdgeDriver()%20classes.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECan%20you%20try%20using%20those%20instead%20of%20ChromeDriver()%20for%20this%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-edge%2Fwebdriver-chromium%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-edge%2Fwebdriver-chromium%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E-John%20Jansen%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

Where can I find the settings to make msedgedriver.exe less chatty in headless mode? is it compiled in debug mode? Really like to turn it off.

 

I use the following driver settings with python:

        elif os.environ['WEBDRIVER'] == 'Edge':
            options = webdriver.ChromeOptions()
            options.add_argument('--disable-infobars')
            options.binary_location = "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe"
            driver = webdriver.Chrome(options=options, executable_path="msedgedriver.exe")
        elif os.environ['WEBDRIVER'] == 'EdgeHeadless':
            options = webdriver.ChromeOptions()
            options.add_argument('--headless')
            options.binary_location = "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe"
            driver = webdriver.Chrome(options=options, executable_path="msedgedriver.exe")

 

here is the output, the first is edge chromium non headless, while the 2nd is edge chromium headless

/c/SharedArea/drivers/msedgedriver

DevTools listening on ws://127.0.0.1:58082/devtools/browser/e50c2d9c-a27f-4458-9975-d51eab72cf08
20200122-111127|INFO|C:\dist\work\selenium-allbrowsers\tools\seleniumtools.py:23|screenshot: <a href="https://www.vg.no/" target="_blank">https://www.vg.no/</a> -> Edge-screen.png
/c/SharedArea/drivers/msedgedriver

DevTools listening on ws://127.0.0.1:58176/devtools/browser/167d0fc4-9100-4b0f-b27f-274356543993
[0122/111145.432:INFO:CONSOLE(0)] "Images loaded lazily and replaced with placeholders. Load events are deferred. See <a href="https://go.microsoft.com/fwlink/?linkid=2048113" target="_blank">https://go.microsoft.com/fwlink/?linkid=2048113</a>", source: <a href="https://www.vg.no/" target="_blank">https://www.vg.no/</a> (0)
[0122/111145.434:INFO:CONSOLE(0)] "An <img> element was lazyloaded with loading=lazy, but had no dimensions specified. Specifying dimensions improves performance. See <a href="https://crbug.com/954323" target="_blank">https://crbug.com/954323</a>", source: <a href="https://www.vg.no/" target="_blank">https://www.vg.no/</a> (0)
[0122/111145.773:INFO:CONSOLE(1)] "AST library loaded: 0.27.1", source: <a href="https://www.vg.no/vgc/cdn/js/libs/ast/0.27.1/ast.js" target="_blank">https://www.vg.no/vgc/cdn/js/libs/ast/0.27.1/ast.js</a> (1)
[0122/111146.188:INFO:CONSOLE(0)] "A cookie associated with a cross-site resource at <a href="http://www.vg.no/" target="_blank">http://www.vg.no/</a> was set without the `SameSite` attribute. A future release of Microsoft Edge will only deliver cookies with cross-site requests if they are set with `SameSite=None`. You can review cookies in 
developer tools under Application>Storage>Cookies and see more details at <a href="https://www.chromestatus.com/feature/5088147346030592" target="_blank">https://www.chromestatus.com/feature/5088147346030592</a> and <a href="https://www.chromestatus.com/feature/5633521622188032" target="_blank">https://www.chromestatus.com/feature/5633521622188032</a>.", source: <a href="https://www.vg.no/" target="_blank">https://www.vg.no/</a> (0)
[0122/111146.194:INFO:CONSOLE(0)] "A cookie associated with a resource at <a href="http://adnxs.com/" target="_blank">http://adnxs.com/</a> was set with `SameSite=None` but without `Secure`. A future release of Microsoft Edge will only deliver cookies marked `SameSite=None` if they are also marked `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <a href="https://www.chromestatus.com/feature/5633521622188032" target="_blank">https://www.chromestatus.com/feature/5633521622188032</a>.", source: <a href="https://www.vg.no/" target="_blank">https://www.vg.no/</a> (0)
[0122/111147.152:INFO:CONSOLE(0)] "A cookie associated with a cross-site resource at <a href="http://acdn.adnxs.com/" target="_blank">http://acdn.adnxs.com/</a> was set without the `SameSite` attribute. A future release of Microsoft Edge will only deliver cookies with cross-site requests if they are set with `SameSite=None`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <a href="https://www.chromestatus.com/feature/5088147346030592" target="_blank">https://www.chromestatus.com/feature/5088147346030592</a> and <a href="https://www.chromestatus.com/feature/5633521622188032" target="_blank">https://www.chromestatus.com/feature/5633521622188032</a>.", source: <a href="https://www.vg.no/" target="_blank">https://www.vg.no/</a> (0)
[0122/111147.289:INFO:CONSOLE(0)] "A cookie associated with a resource at <a href="http://doubleclick.net/" target="_blank">http://doubleclick.net/</a> was set with `SameSite=None` but without `Secure`. A future release of Microsoft Edge will only deliver cookies marked `SameSite=None` if they are also marked `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <a href="https://www.chromestatus.com/feature/5633521622188032" target="_blank">https://www.chromestatus.com/feature/5633521622188032</a>.", source: <a href="https://www.vg.no/" target="_blank">https://www.vg.no/</a> (0)
[0122/111147.455:INFO:CONSOLE(0)] "A cookie associated with a cross-site resource at <a href="http://adnxs.com/" target="_blank">http://adnxs.com/</a> was set without the `SameSite` attribute. A future release of Microsoft Edge will only deliver cookies with cross-site requests if they are set with `SameSite=None`. You can review cookies in 
developer tools under Application>Storage>Cookies and see more details at <a href="https://www.chromestatus.com/feature/5088147346030592" target="_blank">https://www.chromestatus.com/feature/5088147346030592</a> and <a href="https://www.chromestatus.com/feature/5633521622188032" target="_blank">https://www.chromestatus.com/feature/5633521622188032</a>.", source: <a href="https://www.vg.no/" target="_blank">https://www.vg.no/</a> (0)
[0122/111147.875:INFO:CONSOLE(2)] "anx-mediation %cCONTINUE color: orange", source: <a href="https://acdn.adnxs.com/ast/mediation/0.27.1/mediation.js" target="_blank">https://acdn.adnxs.com/ast/mediation/0.27.1/mediation.js</a> (2)
[0122/111147.910:INFO:CONSOLE(2)] "anx-mediation:  INIT --", source: <a href="https://acdn.adnxs.com/ast/mediation/0.27.1/mediation.js" target="_blank">https://acdn.adnxs.com/ast/mediation/0.27.1/mediation.js</a> (2)
[0122/111148.231:INFO:CONSOLE(2)] "anx-mediation:  NOBID 628ms", source: <a href="https://acdn.adnxs.com/ast/mediation/0.27.1/mediation.js" target="_blank">https://acdn.adnxs.com/ast/mediation/0.27.1/mediation.js</a> (2)
[0122/111148.250:INFO:CONSOLE(2)] "console.groupEnd", source: <a href="https://acdn.adnxs.com/ast/mediation/0.27.1/mediation.js" target="_blank">https://acdn.adnxs.com/ast/mediation/0.27.1/mediation.js</a> (2)
[0122/111148.381:INFO:CONSOLE(2)] "anx-mediation: %cCONTINUE %ccreative ids 131072012 color: orange color: black", source: <a href="https://acdn.adnxs.com/ast/mediation/0.27.1/mediation.js" target="_blank">https://acdn.adnxs.com/ast/mediation/0.27.1/mediation.js</a> (2)
[0122/111148.521:INFO:CONSOLE(2)] "anx-mediation:  CONTINUE 628ms", source: <a href="https://acdn.adnxs.com/ast/mediation/0.27.1/mediation.js" target="_blank">https://acdn.adnxs.com/ast/mediation/0.27.1/mediation.js</a> (2)
[0122/111148.522:INFO:CONSOLE(2)] "console.groupEnd", source: <a href="https://acdn.adnxs.com/ast/mediation/0.27.1/mediation.js" target="_blank">https://acdn.adnxs.com/ast/mediation/0.27.1/mediation.js</a> (2)
[0122/111148.523:INFO:CONSOLE(2)] "console.groupEnd", source: <a href="https://acdn.adnxs.com/ast/mediation/0.27.1/mediation.js" target="_blank">https://acdn.adnxs.com/ast/mediation/0.27.1/mediation.js</a> (2)
[0122/111148.565:INFO:CONSOLE(0)] "A cookie associated with a cross-site resource at <a href="http://track.adform.net/" target="_blank">http://track.adform.net/</a> was set without the `SameSite` attribute. A future release of Microsoft Edge will only deliver cookies with cross-site requests if they are set with `SameSite=None`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <a href="https://www.chromestatus.com/feature/5088147346030592" target="_blank">https://www.chromestatus.com/feature/5088147346030592</a> and <a href="https://www.chromestatus.com/feature/5633521622188032" target="_blank">https://www.chromestatus.com/feature/5633521622188032</a>.", source: <a href="https://www.vg.no/" target="_blank">https://www.vg.no/</a> (0)
20200122-111148|INFO|C:\dist\work\selenium-allbrowsers\tools\seleniumtools.py:23|screenshot: <a href="https://www.vg.no/" target="_blank">https://www.vg.no/</a> -> EdgeHeadless-screen.png
[0122/111148.755:INFO:CONSOLE(0)] "A cookie associated with a cross-site resource at <a href="http://adform.net/" target="_blank">http://adform.net/</a> was set without the `SameSite` attribute. A future release of Microsoft Edge will only deliver cookies with cross-site requests if they are set with `SameSite=None`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at <a href="https://www.chromestatus.com/feature/5088147346030592" target="_blank">https://www.chromestatus.com/feature/5088147346030592</a> and <a href="https://www.chromestatus.com/feature/" target="_blank">https://www.chromestatus.com/feature/</a>

 

3 Replies
Highlighted

@mortenb123 hello there, thanks for the details of your issue. I am not seeing this much noise when I run Edge via the MSEdgeDriver.exe and use the EdgeOptions() and EdgeDriver() classes.

 

Can you try using those instead of ChromeDriver() for this?

 

https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium

 

-John Jansen

Highlighted

Thanks@johnjansen 

Using the canary browser v81.0.401.0 with the latest canary driver worked fine, I was using the follwing in stable:

    "msedge":  {
                   "webdriverver":  "79.0.313.0",
                   "path":  "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe",
                   "webdriverpath":  "C:\\SharedArea\\drivers\\msedgedriver.exe",
                   "webdriver":  "msedgedriver.exe",
                   "check":  true,
                   "ver":  "79.0.309.68"
               }

 

I'm not completely sure about the versioning some need to match the 3 first  tuples, but others work.

Chrome is using to the first 2 tuples, while Firefox and Opera does not have any rules, just testing and appending a check=true if they work.

 

Highlighted
Solution

@mortenb123 thanks for the details. I'm glad to hear that it works in the Canary builds. The issue you are seeing is likely due to unfortunate timing of the Selenium 4 release and our Stable version of Edge.

 

This issue should go away naturally with the next Stable release.

 

-John