org.openqa.selenium.WebDriverException: Driver isn't initialized. This extension can only be used in combination with the DriverParameterResolver
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先检查 Java Test Runner 对接受 WebDriver 参数的 JUnit 5 测试方法以及 DriverParameterResolver 错误的处理方式。确认此设置是否受支持,以及应如何运行所示测试;当得到可复现的使用路径或确认的限制时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I'm trying to run junit5 selenium tests with the Java Test Runner. I always get this error message:
org.openqa.selenium.WebDriverException: Driver isn't initialized. This extension can only be used in combination with the DriverParameterResolver
I guess this is related to the webDriver parameter that the test method expects:
void testMyPage(final WebDriver driver) {...}
I googled for DriverParameterResolver but found absolutely nothing. Is it possible to run selenium tests with this extension, and if yes, how?
- 主要语言
- TypeScript
- 星标
- 339
- 派生
- 174
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 15
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
microsoft/vscode-java-test 的其他 Issue
-
CodeLens missing and individual method execution freezes on @Nested JUnit 6 classes (macOS)可能已有人在做 @wenytang-ms 于 5 天前认领。 未关闭ai-triaged bug investigating junit test-discovery test-execution
难度 4/5 3-5 天 新手友好度 42/100
microsoft/vscode-java-test#1897 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[BUG] The extension uses raw data.可能重新可做 @wenytang-ms 于 89 天前认领,目前没有进行中的 PR。 未关闭ai-triaged bug gradle high-priority test-execution
microsoft/vscode-java-test#1880 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
[BUG] IllegalAccessException: module java.base does not open java.lang to unnamed module可能重新可做 @wenytang-ms 于 89 天前认领,目前没有进行中的 PR。 未关闭ai-triaged gradle junit test-execution ux
microsoft/vscode-java-test#1878 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
ai-triaged enhancement junit low-priority test-execution ui
难度 4/5 3-5 天 新手友好度 48/100
microsoft/vscode-java-test#1836 · 4 条评论 ·
维护者通常 1 天内回复
-
ai-triaged enhancement gradle investigating junit low-priority test-reporting
难度 4/5 3-5 天 新手友好度 48/100
microsoft/vscode-java-test#1824 · 1 条评论 ·
维护者通常 1 天内回复
查看 microsoft/vscode-java-test 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 82/100
HigherOrderCO/Bend#1294 ·
-
Price: 75 USD Priority: 2 (Medium) Time: <1 Hour
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复