microsoft / microsoft/vscode-java-test
org.openqa.selenium.WebDriverException: Driver isn't initialized. This extension can only be used in combination with the DriverParameterResolver
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 340
- Forks
- 173
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 18
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the Java Test Runner's handling of JUnit 5 test methods that accept a WebDriver parameter and the DriverParameterResolver error. Check whether this setup is supported and how the shown test should be run; done means a reproducible usage path or a confirmed limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, vscode
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100