Skip to content

Commit

Permalink
[js] fix more lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Sep 16, 2023
1 parent 2866578 commit 0fd2532
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion javascript/node/selenium-webdriver/chrome.js
Expand Up @@ -127,7 +127,6 @@

'use strict'

const io = require('./io')
const { Browser } = require('./lib/capabilities')
const chromium = require('./chromium')
const CHROME_CAPABILITY_KEY = 'goog:chromeOptions'
Expand Down
1 change: 0 additions & 1 deletion javascript/node/selenium-webdriver/remote/index.js
Expand Up @@ -17,7 +17,6 @@

'use strict'

const fs = require('fs')
const url = require('url')

const httpUtil = require('../http/util')
Expand Down
1 change: 0 additions & 1 deletion javascript/node/selenium-webdriver/test/bidi/bidi_test.js
Expand Up @@ -1265,7 +1265,6 @@ suite(
it('can evaluate in a realm', async function () {
const firstTab = await driver.getWindowHandle()
await driver.switchTo().newWindow('tab')
const secondTab = await driver.getWindowHandle()
const manager = await ScriptManager(firstTab, driver)

const realms = await manager.getAllRealms()
Expand Down
Expand Up @@ -289,12 +289,7 @@ test.suite(
await assertAsyncScriptPinned(() => driver.executeAsyncScript(script))

async function assertAsyncScriptPinned(fn) {
try {
await fn()
return
} catch (err) {
throw err
}
await fn()
}
})
})
Expand Down

0 comments on commit 0fd2532

Please sign in to comment.