Skip to content

Commit d7b064e

Browse files
fix: selenium types
1 parent 61b4065 commit d7b064e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

e2e/helpers.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import {
1616
WebElement,
1717
until,
1818
} from 'selenium-webdriver';
19-
import chrome from 'selenium-webdriver/chrome';
20-
import firefox from 'selenium-webdriver/firefox';
19+
import * as chrome from 'selenium-webdriver/chrome';
20+
import * as firefox from 'selenium-webdriver/firefox';
2121
import { erc20Abi } from 'viem';
2222
import { expect } from 'vitest';
2323

@@ -150,7 +150,7 @@ export async function initDriverWithOptions(opts: {
150150
driver = await new Builder()
151151
.setChromeService(service)
152152
.forBrowser('chrome')
153-
.setChromeOptions(options)
153+
.setChromeOptions(options as chrome.Options)
154154
.build();
155155
}
156156
// @ts-ignore

0 commit comments

Comments
 (0)