【发布时间】:2019-04-09 12:52:19
【问题描述】:
我尝试在 Winodws 7 上使用 Internet Explorer 11 从 net.serenity-bdd:serenity-cucumber-archetype 运行简单项目
这样做有很多陷阱。
尽量避免:
1.
java.nio.file.InvalidPathException: Illegal char <:> at index 2: /C:/username/Java/git_other/test/test/target/test-classes/features
回答:不要使用 2.0.42 版本。
2.
Caused by: java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.ie.driver system property; for more information, see https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver. The latest version can be downloaded from http://selenium-release.storage.googleapis.com/index.html
回答: 1.转到页面[https://docs.seleniumhq.org/download/][1] 为(推荐)32 位 Windows IE 或 64 位 Windows IE 下载版本 3.14.0
2.添加到IEDriverServer.exe的%PATH%路径
【问题讨论】:
标签: internet-explorer cucumber windows-7-x64 maven-archetype serenity-bdd