如何关闭 Selenium 中的扩展黄丝带?
How to close the extension yellow ribbon in Selenium?
我正在 Chrome 浏览器上使用 Selenium 进行自动化。我安装了一个特定于我的产品的 Chrome 扩展。我在顶部看到黄色丝带,阻止我访问页面元素。附上截图。如何 close/prevent 功能区不显示?
有一个特定的标志/命令行开关可以这样做。
--silent-debugger-extension-api
Does not show an infobar when an extension attaches to a page using chrome.debugger page. Required to attach to extension background pages.
我正在 Chrome 浏览器上使用 Selenium 进行自动化。我安装了一个特定于我的产品的 Chrome 扩展。我在顶部看到黄色丝带,阻止我访问页面元素。附上截图。如何 close/prevent 功能区不显示?
有一个特定的标志/命令行开关可以这样做。
--silent-debugger-extension-api
Does not show an infobar when an extension attaches to a page using chrome.debugger page. Required to attach to extension background pages.