[🚀 Feature]: Change Selenium Manager PATH behavior
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Lĩnh vực
- tooling
Hướng nghiên cứu
Bắt đầu bằng cách xác định phần xử lý PATH-driver của Selenium Manager và branch được sử dụng khi chỉ định phiên bản driver. Xác nhận thứ tự chọn browser hiện có và hành vi so sánh phiên bản; công việc được xem là hoàn tất khi driver khả dụng phù hợp nhất của browser đã chọn được bảo đảm, kể cả khi một PATH-driver không đồng bộ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Java
- Star
- 34.6k
- Fork
- 8.7k
- Merge trung bình
- 1 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 107
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của SeleniumHQ/selenium
-
C-py I-defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
SeleniumHQ/selenium#18438 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
SeleniumHQ/selenium#18323 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
B-build C-py I-enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 68/100
SeleniumHQ/selenium#18435 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[🐛 Bug]: Bindings change the user's options when Selenium Manager supplies a browserCó thể đã có người làm @Liz-Lian đã nhận 2 ngày trước. Đang mởC-dotnet C-java C-nodejs C-py C-rb I-defect
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
SeleniumHQ/selenium#18428 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[🐛 Bug]: [rust] Selenium Manager can return a browser from the cache before it finishes copyingCó thể đã có người làm @Liz-Lian đã nhận 2 ngày trước. Đang mởC-rust I-defect
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
SeleniumHQ/selenium#18427 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của SeleniumHQ/selenium
Issue tương tự
-
area-integrations
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
? - Needs Triage bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NVIDIA/cudf-spark-jni#5598 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
oracle/graalvm-reachability-metadata#12264 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[source-facebook-pages] post stream never returns attachments.media_typeCó thể đã có người làm @v-k-data đã nhận hôm nay. Đang mởarea/connectors needs-triage type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG] AppSync: GetIntrospectionSchema wraps the schema in JSON instead of returning the raw SDL bodyĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
floci-io/floci#10107 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày