Skip to content

Commit cc66d36

Browse files
committed
fix #997
1 parent 126b87d commit cc66d36

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

webdriver-ts/src/puppeteerAccess.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ function browserPath(benchmarkOptions: BenchmarkDriverOptions) {
6565
return "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome";
6666
} else if (process.platform == "linux") {
6767
return "google-chrome";
68+
} else if(/^win/i.test(process.platform)) {
69+
return 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe';
6870
} else {
6971
throw new Error("Path to Google Chrome executable must be specified");
7072
}

0 commit comments

Comments
 (0)