[🚀 Feature]: Change Selenium Manager PATH behavior
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Domain
- tooling
Research direction
Start by locating Selenium Manager's PATH-driver handling and the branch used when a driver version is specified. Confirm the existing browser-selection order and version comparison behavior; done means the selected browser's most correct available driver is ensured, including when a PATH driver is out of sync.
Written by the indexing model from the issue text.
Description
Description
The original plan for the selenium manager contract was for it to be opt-in while in beta and then the full release would be opt-out
When we moved PATH detection from bindings to Selenium Manager, we broke this contract a little bit for convenience sake when there weren't side-effects. But, for instance, when we added plausible integration, we didn't exempt drivers found on path from that flow, which further eroded the original contract.
I think there is only one place remaining where we make a distinction, and I think it has become a distinction without a difference.
Right now if SM finds a driver on PATH it will use it unless the user has specified a version in their options class.
If the driver version does not match the browser SM detects on the system it doesn't download a new driver, it just logs a warning, even though we know that it will error.
This is intentional because of the contract we agreed to at the beginning: if user is managing the drivers themselves, SM must respect it.
The actually desired implementation is in order:
- use browser with specified version
- use browser installed on system
- use latest stable browser
Then download browser if necessary and always ensure the most correct driver for that browser we can provide (lots of edge cases here but we handle these pretty well right now)
I can't think of a scenario where making this change now negatively impacts users. The biggest change is that many users with slightly out of sync driver/browser versions will have more correct driver versions downloaded now, and fixing it will be a good thing.
Have you considered any alternatives or workarounds?
No response
- Dominant language
- Java
- Stars
- 34.6k
- Forks
- 8.7k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 107
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from SeleniumHQ/selenium
-
C-py I-defect
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
SeleniumHQ/selenium#18438 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
SeleniumHQ/selenium#18323 · 1 comment ·
Maintainers usually reply within 1 day
-
B-build C-py I-enhancement
Difficulty 4/5 3-5 days Newbie friendliness 68/100
SeleniumHQ/selenium#18435 · 1 comment ·
Maintainers usually reply within 1 day
-
[🐛 Bug]: Bindings change the user's options when Selenium Manager supplies a browserPossibly taken @Liz-Lian claimed this 2 days ago. OpenC-dotnet C-java C-nodejs C-py C-rb I-defect
Difficulty 4/5 3-5 days Newbie friendliness 45/100
SeleniumHQ/selenium#18428 ·
Maintainers usually reply within 1 day
-
[🐛 Bug]: [rust] Selenium Manager can return a browser from the cache before it finishes copyingPossibly taken @Liz-Lian claimed this 2 days ago. OpenC-rust I-defect
Difficulty 3/5 1-2 days Newbie friendliness 65/100
SeleniumHQ/selenium#18427 ·
Maintainers usually reply within 1 day
All issues in SeleniumHQ/selenium
Similar issues
-
area-integrations
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
? - Needs Triage bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
NVIDIA/cudf-spark-jni#5598 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oracle/graalvm-reachability-metadata#12264 ·
Maintainers usually reply within 1 day
-
[source-facebook-pages] post stream never returns attachments.media_typePossibly taken @v-k-data claimed this today. Openarea/connectors needs-triage type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
[BUG] AppSync: GetIntrospectionSchema wraps the schema in JSON instead of returning the raw SDL bodyOpen
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
floci-io/floci#10107 · 1 comment ·
Maintainers usually reply within 1 day