Skip to content

Commit a487f25

Browse files
committed
refactor for ESM modules
1 parent 941de92 commit a487f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webdriver-ts/src/forkedBenchmarkRunnerWebdriver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { BenchmarkType, DurationMeasurementMode } from "./benchmarksCommon.js";
99
let config: TConfig = defaultConfig;
1010

1111
// necessary to launch without specifiying a path
12-
require("chromedriver");
12+
import "chromedriver";
1313

1414
interface Timingresult {
1515
type: string;

0 commit comments

Comments
 (0)