Skip to content

fix: declare selenium-java as provided scope in selenium module#577

Draft
scottmries wants to merge 1 commit intodevelopfrom
fix/selenium-provided-scope
Draft

fix: declare selenium-java as provided scope in selenium module#577
scottmries wants to merge 1 commit intodevelopfrom
fix/selenium-provided-scope

Conversation

@scottmries
Copy link
Copy Markdown
Contributor

Removes selenium-java and webdrivermanager as transitive dependencies so consumers can manage their own Selenium version without conflicts. Also removes unused webdrivermanager dependency.

Issue: #576

@scottmries scottmries requested a review from a team as a code owner March 17, 2026 20:23
@scottmries scottmries requested review from Copilot and straker March 17, 2026 20:23
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 17, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the selenium Maven module to stop bundling Selenium/WebDriverManager transitively, letting downstream consumers control their Selenium dependency version to avoid conflicts (per Issue #576).

Changes:

  • Set org.seleniumhq.selenium:selenium-java to provided scope in the selenium module.
  • Remove the io.github.bonigarcia:webdrivermanager dependency from the selenium module.
  • Update selenium/README.md installation guidance to describe Selenium as a peer dependency and refresh version examples.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
selenium/pom.xml Changes Selenium dependency scope to provided and removes WebDriverManager.
selenium/README.md Updates installation instructions to reflect the new dependency expectations.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread selenium/pom.xml Outdated
Comment thread selenium/README.md
Comment thread selenium/README.md Outdated
Comment thread selenium/README.md Outdated
straker
straker previously approved these changes Mar 24, 2026
Copy link
Copy Markdown
Member

@Garbee Garbee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just blocking until we discuss breaking change impact. Once that is resolved, this should be fine to go once adjusted (if needed) to merge based on that discussion.

Explains that consumers can declare their own selenium-java version
and Maven will use it instead of the transitive dependency. Also
fixes typo "Seleium" -> "Selenium".
@scottmries scottmries force-pushed the fix/selenium-provided-scope branch from d31b839 to 7dba71a Compare March 24, 2026 18:07
@scottmries scottmries marked this pull request as draft March 24, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants