microsoft / microsoft/vscode-java-test

org.openqa.selenium.WebDriverException: Driver isn't initialized. This extension can only be used in combination with the DriverParameterResolver

Open
#661 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ai-triaged bug junit question test-execution
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.