Skip to content

Commit b82c2e1

Browse files
authored
Removing FF guard for canListenToDownloadWillBeginEvent (#16439)
* This test is now passing in Firefox. * Fixing JS test
1 parent 517c7e4 commit b82c2e1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

java/test/org/openqa/selenium/bidi/browsingcontext/BrowsingContextInspectorTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ void canListenToNavigationCommittedEvent()
235235

236236
@Test
237237
@NeedsFreshDriver
238-
@NotYetImplemented(FIREFOX)
239238
void canListenToDownloadWillBeginEvent()
240239
throws ExecutionException, InterruptedException, TimeoutException {
241240
try (BrowsingContextInspector inspector = new BrowsingContextInspector(driver)) {

javascript/selenium-webdriver/test/bidi/network_test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ suite(
9797

9898
assert.equal(beforeRequestEvent[0].request.method, 'GET')
9999
assert(beforeRequestEvent[0].request.url.includes('redirected_http_equiv.html'))
100-
assert.equal(beforeRequestEvent[2].request.method, 'GET')
101-
assert(beforeRequestEvent[2].request.url.includes('redirected.html'))
100+
assert.equal(beforeRequestEvent[1].request.method, 'GET')
101+
assert(beforeRequestEvent[1].request.url.includes('redirected.html'))
102102
})
103103

104104
it('can subscribe to response started', async function () {

0 commit comments

Comments
 (0)