ARJ*_*N U 2 java selenium-webdriver htmlunit-driver
我正试图在eclipse中使用HTMLunitdriver.
我已经写了
WebDriver driver = new HtmlUnitDriver();
Run Code Online (Sandbox Code Playgroud)
所有jar文件都添加在buildpath中,但是我收到错误"HTMLunit驱动程序无法解析为类型".
任何人都可以提供任何指示吗?
嗨arjun请降级到2.52它肯定会工作,我已经弄清楚为什么它不工作
HtmlUnitDriver was a part of Selenium main distribution package prior to Selenium version
2.53. If you are using Selenium 2.52 or earlier you don't need to download and install
HtmlUnitDriver, it is already there.
According to Selenium evolution strategy drivers should be separated from Selenium,
and a driver release cycle should be synchronized with the target browser release cycle
instead of Selenium release cycle. So this happened to HtmlUnitDriver too. It's not a part
of the main Selenium distribution since version 2.53.
Run Code Online (Sandbox Code Playgroud)
请通过链接获取更多信息 https://github.com/SeleniumHQ/htmlunit-driver 如果您想继续使用2.53版本,请在此处下载HtmlUnitDriver表单https://github.com/SeleniumHQ/htmlunit-driver/发布
| 归档时间: |
|
| 查看次数: |
5585 次 |
| 最近记录: |