You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
I would like to work on this issue as a new contributor.
I have experience with Java, Selenium WebDriver, and automated testing. I understand that DriverFinderTest needs to save, clear, and restore both selenium.debug and selenium.webdriver.verbose to prevent state leakage between tests.
Status on 2026-11-13: this issue stays open. Titus Fortner said on 2026-10-29 that it is available if no pull request is open. I do not have a pull request for the DriverFinderTest property fixture, and I am leaving it for a contributor who picks it up. #18254 and the open remaining-fine pull request #18295 do not change this test.
DriverFinderTest on trunk does not read or write selenium.debug or selenium.webdriver.verbose. The save/restore described at lines 81-100 is on the unmerged head of #17832 (f8129c5), not on trunk. On the 2026-06-26 trunk revision of this file, those lines are systemPropertyIgnoresSeleniumManager, which sets property.ignores.selenium.manager.
@titusfortner marked this available on 2026-10-29 from the issue text, and @stefanpoia offered to take it. A pull request that adds a save/restore for properties this test does not set would be unused. Please do not open that pull request.
The umbrella tracker stays open until Debug.getDebugLogLevel() is removed.
Prepared with Grok. Checked DriverFinderTest on trunk and at 6ea4c2345e, and the same file on #17832 at f8129c5.
Activity
[java] De-mock secondDiscoveryPicksUpADebugPropertyChangedAfterTheFirst
stefanpoia commentedon Oct 22, 2026
Hi Selenium team,
I would like to work on this issue as a new contributor.
I have experience with Java, Selenium WebDriver, and automated testing. I understand that DriverFinderTest needs to save, clear, and restore both
selenium.debugandselenium.webdriver.verboseto prevent state leakage between tests.Is this issue available for contribution?
Thank you!
titusfortner commentedon Oct 29, 2026
If there's not a PR opened for this already, it's available to work on, thanks!
MohabMohie commentedon Nov 13, 2026
Status on 2026-11-13: this issue stays open. Titus Fortner said on 2026-10-29 that it is available if no pull request is open. I do not have a pull request for the
DriverFinderTestproperty fixture, and I am leaving it for a contributor who picks it up. #18254 and the open remaining-fine pull request #18295 do not change this test.MohabMohie commentedon Nov 20, 2026
DriverFinderTeston trunk does not read or writeselenium.debugorselenium.webdriver.verbose. The save/restore described at lines 81-100 is on the unmerged head of #17832 (f8129c5), not on trunk. On the 2026-06-26 trunk revision of this file, those lines aresystemPropertyIgnoresSeleniumManager, which setsproperty.ignores.selenium.manager.@titusfortner marked this available on 2026-10-29 from the issue text, and @stefanpoia offered to take it. A pull request that adds a save/restore for properties this test does not set would be unused. Please do not open that pull request.
The umbrella tracker stays open until
Debug.getDebugLogLevel()is removed.Prepared with Grok. Checked
DriverFinderTeston trunk and at6ea4c2345e, and the same file on #17832 atf8129c5.