【发布时间】:2016-09-29 23:10:21
【问题描述】:
我在 HtmlUnitDriver.java 文件中做了一个补丁,如下所述: Is it possible to ignore JavaScript exceptions when working with WebDriver (HtmlUnit, Ruby bindings)
我遵循了 selenium 构建 wiki 和自述文件中的说明,以及此处给出的提示: Building the Selenium Server Project
不过,我没有像 selenium-server-standalone-2.25.0.jar 这样的 jar 文件可以运行并用作 selenium 测试的无头浏览器。
...所以我正在尝试使用我的补丁重新创建 selenium-server-standalone-2.xx.jar 文件,并使用它来运行我的无头测试。
谁能向我解释如何做到这一点?谢谢!
【问题讨论】:
标签: selenium selenium-webdriver