We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61b4065 commit d7b064eCopy full SHA for d7b064e
e2e/helpers.ts
@@ -16,8 +16,8 @@ import {
16
WebElement,
17
until,
18
} from 'selenium-webdriver';
19
-import chrome from 'selenium-webdriver/chrome';
20
-import firefox from 'selenium-webdriver/firefox';
+import * as chrome from 'selenium-webdriver/chrome';
+import * as firefox from 'selenium-webdriver/firefox';
21
import { erc20Abi } from 'viem';
22
import { expect } from 'vitest';
23
@@ -150,7 +150,7 @@ export async function initDriverWithOptions(opts: {
150
driver = await new Builder()
151
.setChromeService(service)
152
.forBrowser('chrome')
153
- .setChromeOptions(options)
+ .setChromeOptions(options as chrome.Options)
154
.build();
155
}
156
// @ts-ignore
0 commit comments