[java] DriverFinderTest property fixture doesn't clear/restore selenium.webdriver.verbose
Maintainer thường phản hồi trong vòng 1 ngày
@stefanpoia đang làm issue này rồi.
Từ ngày 22/10/2026.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 88/100
Hướng nghiên cứu
Mở java/test/org/openqa/selenium/remote/service/DriverFinderTest.java:81-100 và so sánh fixture của nó với phần thiết lập tương ứng trong LoggingOptionsTest.java, RemoteWebDriverInitializationTest.java và RetryRequestTest.java. Chạy DriverFinderTest sau khi cập nhật fixture; hoàn tất có nghĩa là cả selenium.debug và selenium.webdriver.verbose đều được lưu, xóa trước khi kiểm thử và khôi phục sau đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Motivation
Follow-up to #17832/#17833. That PR's round-2 review pass fixed the identical fixture-hygiene gap (test setup only saving/clearing selenium.debug, not its legacy alias selenium.webdriver.verbose) in LoggingOptionsTest.java, RemoteWebDriverInitializationTest.java, and RetryRequestTest.java.
java/test/org/openqa/selenium/remote/service/DriverFinderTest.java:81-100 has the same gap: its property save/restore only handles selenium.debug, so a JVM with selenium.webdriver.verbose set externally could leak state across tests in this file. It was out of scope for the round-2 coder (not in the original findings list) so it's tracked here rather than fixed silently.
Suggested fix
Mirror the fixture pattern already applied to the three files above: save both properties before the test, clear both, restore both after.
Context
Umbrella tracker: #17833
- Ngôn ngữ chính
- Java
- Star
- 34.6k
- Fork
- 8.7k
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 86
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
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
SeleniumHQ/selenium#18323 ·
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 88/100
SeleniumHQ/selenium#17843 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
A-needs-triaging C-java D-chrome D-firefox I-defect OS-linux
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 53/100
SeleniumHQ/selenium#18324 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: [py] Generated bidi.UserAgentClientHints is empty — inline CDDL params drop the commandCó thể đã có người làm @titusfortner đã nhận 3 ngày trước. Đang mởC-py OS-mac
SeleniumHQ/selenium#18312 · 2 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
A-needs-triaging B-grid I-defect OS-mac
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
SeleniumHQ/selenium#18304 · 3 bình luận ·
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ự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
btraceio/jafar#228 · 1 bình luận ·
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 83/100
jenkinsci/git-client-plugin#1807 ·
-
area-templates triage:bot-seen triage:needs-human
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
microsoft/aspire#22356 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Coral-Hive] locate() is typed as STRING instead of INT, so view schemas report a string columnĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
apache/flink-agents#1395 ·
Maintainer thường phản hồi trong vòng 1 ngày