gpt4 book ai didi

c# - 是否可以捕获并记录我在 Google Chrome 中运行测试时可能发生的所有 JS 错误

转载 作者:太空宇宙 更新时间:2023-11-03 21:54:28 26 4
gpt4 key购买 nike

我在 C# 中使用 Selenium WedDriver。

有没有办法捕获并记录我在 Google Chrome 中运行测试时可能发生的所有 JS 错误?

例如 Firefox 的“JSErrorCollector”- http://mguillem.wordpress.com/2011/10/11/webdriver-capture-js-errors-while-running-tests/

最佳答案

现在我们有相同的 Chrome 插件。在这里 - https://github.com/dharrya/ChromeJSErrorCollector

它与 JSErrorCollector 非常相似。

关于c# - 是否可以捕获并记录我在 Google Chrome 中运行测试时可能发生的所有 JS 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12872322/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com