Skip to content

Commit

Permalink
[js][bidi] Fix network inspector test
Browse files Browse the repository at this point in the history
  • Loading branch information
pujagani committed Oct 17, 2023
1 parent 7461f1d commit 7450a1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascript/node/selenium-webdriver/test/bidi/bidi_test.js
Expand Up @@ -1802,7 +1802,7 @@ suite(

assert.equal(beforeRequestEvent.request.method, 'GET')
assert.equal(beforeRequestEvent.request.cookies[0].name, 'north')
assert.equal(beforeRequestEvent.request.cookies[0].value, 'biryani')
assert.equal(beforeRequestEvent.request.cookies[0].value.value, 'biryani')
const url = beforeRequestEvent.request.url
assert.equal(url, await driver.getCurrentUrl())

Expand All @@ -1813,7 +1813,7 @@ suite(
await driver.navigate().refresh()

assert.equal(beforeRequestEvent.request.cookies[1].name, 'south')
assert.equal(beforeRequestEvent.request.cookies[1].value, 'dosa')
assert.equal(beforeRequestEvent.request.cookies[1].value.value, 'dosa')
})

it('can redirect http equiv', async function () {
Expand Down

0 comments on commit 7450a1a

Please sign in to comment.