too many Edge instances open automatically, with “ERROR:file_io_win.cc(180)] CreateFile settings.dat: Access is denied. (0x5)”

too many Edge instances open automatically, with “ERROR:file_io_win.cc(180)] CreateFile settings.dat: Access is denied. (0x5)”

前几天测试Selenium Webdriver,遇到Edge实例太多,开机后自动启动的问题

我知道很多人都被这个问题困扰,我尝试了几种方法来解决这个问题,但我没有成功。

有谁知道如何解决这个问题?

我已经在“启动”选项卡中禁用了 Edge 实例。但是,我想知道解决这个问题的根本方法。

信息如下->

提前致谢!

如果可以的话,建议你用这段代码做个测试。

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

您可以让我们知道您的测试结果。

它可能会帮助您解决这个问题。

参考:answer