[🚀 Feature]: Change Selenium Manager PATH behavior
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Ambito
- tooling
Direzione di ricerca
Inizia individuando la gestione di PATH-driver di Selenium Manager e il branch utilizzato quando viene specificata una versione del driver. Conferma l’ordine esistente di selezione del browser e il comportamento del confronto delle versioni; il lavoro è completato quando è garantito il driver disponibile più corretto per il browser selezionato, anche quando un PATH-driver non è sincronizzato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Java
- Stelle
- 34.6k
- Fork
- 8.7k
- Merge medio
- 1g 16h
- PR unite (30g)
- 107
Preparare l'ambiente
Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di SeleniumHQ/selenium
-
C-py I-defect
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
SeleniumHQ/selenium#18438 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
SeleniumHQ/selenium#18323 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
B-build C-py I-enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 68/100
SeleniumHQ/selenium#18435 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[🐛 Bug]: Bindings change the user's options when Selenium Manager supplies a browserForse già presa @Liz-Lian l’ha presa 2 giorni fa. ApertaC-dotnet C-java C-nodejs C-py C-rb I-defect
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
SeleniumHQ/selenium#18428 ·
I maintainer di solito rispondono entro 1 giorno
-
[🐛 Bug]: [rust] Selenium Manager can return a browser from the cache before it finishes copyingForse già presa @Liz-Lian l’ha presa 2 giorni fa. ApertaC-rust I-defect
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
SeleniumHQ/selenium#18427 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di SeleniumHQ/selenium
Issue simili
-
area-integrations
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
? - Needs Triage bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
NVIDIA/cudf-spark-jni#5598 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
oracle/graalvm-reachability-metadata#12264 ·
I maintainer di solito rispondono entro 1 giorno
-
[source-facebook-pages] post stream never returns attachments.media_typeForse già presa @v-k-data l’ha presa oggi. Apertaarea/connectors needs-triage type/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno
-
[BUG] AppSync: GetIntrospectionSchema wraps the schema in JSON instead of returning the raw SDL bodyAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
floci-io/floci#10107 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno