From d291601928bba077db1fa5f4e84667327aa81017 Mon Sep 17 00:00:00 2001 From: Diego Molina Date: Wed, 15 Oct 2025 16:57:21 +0100 Subject: [PATCH 1/2] This test is now passing in Firefox. --- .../bidi/browsingcontext/BrowsingContextInspectorTest.java | 1 - 1 file changed, 1 deletion(-) diff --git a/java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextInspectorTest.java b/java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextInspectorTest.java index 93ddcfcb83d10..2a3a0f64ba06d 100644 --- a/java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextInspectorTest.java +++ b/java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextInspectorTest.java @@ -235,7 +235,6 @@ void canListenToNavigationCommittedEvent() @Test @NeedsFreshDriver - @NotYetImplemented(FIREFOX) void canListenToDownloadWillBeginEvent() throws ExecutionException, InterruptedException, TimeoutException { try (BrowsingContextInspector inspector = new BrowsingContextInspector(driver)) { From f98626f2feb836bd3f29ab647a21a0036a6882de Mon Sep 17 00:00:00 2001 From: Diego Molina Date: Wed, 15 Oct 2025 20:00:09 +0100 Subject: [PATCH 2/2] Fixing JS test --- javascript/selenium-webdriver/test/bidi/network_test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/selenium-webdriver/test/bidi/network_test.js b/javascript/selenium-webdriver/test/bidi/network_test.js index 0cfdd2059021c..664e6433ff62e 100644 --- a/javascript/selenium-webdriver/test/bidi/network_test.js +++ b/javascript/selenium-webdriver/test/bidi/network_test.js @@ -97,8 +97,8 @@ suite( assert.equal(beforeRequestEvent[0].request.method, 'GET') assert(beforeRequestEvent[0].request.url.includes('redirected_http_equiv.html')) - assert.equal(beforeRequestEvent[2].request.method, 'GET') - assert(beforeRequestEvent[2].request.url.includes('redirected.html')) + assert.equal(beforeRequestEvent[1].request.method, 'GET') + assert(beforeRequestEvent[1].request.url.includes('redirected.html')) }) it('can subscribe to response started', async function () {