headless
2 TopicsHeadless mode opens PopUp when downloading file with potentially dangerous file-ending
Hi, while currently updating our testing infrastructure and the corresponding edge versions we test, we found problems using the "headless=new" argument. While edge was running in headless mode, when downloading an xml file, a popup still occurred, asking whether to keep the potentially malicious file. This seems to be unwanted behavior for a "headless" environment. This was tested using Edge v109.0.1518.52 as well as some 110 versions. Trying to solve the problem using several different profile preferences in selenium did not work: Dowload.prompt_for_download -> false download.extensions_to_open -> application/xml download.set_download_behaviour -> allow safebrowsing.enabled -> true safebrowsing.disable_download_protection -> true Are we doing anything wrong here? Should this popup still occur? Are there options to turn this off that we didn't try yet? Thanks in advance.1.4KViews0likes2Commentsremote debugger can't work fine
In stable 112 version, remote debugger can't work fine! I used cmd .\msedge.exe --headless=true --remote-debugging-port=0 https://www.baidu.com to open an browser. Then I in another browser to open http://127.0.0.1:4340/json ,choosed page's devtoolsFrontendUrl opened. But it happend an error: webSocket disconnected!!! What can I do for this?587Views0likes0Comments