Skip to content

Commit

Permalink
Use the CHROME_BIN
Browse files Browse the repository at this point in the history
  • Loading branch information
redJ4y authored Aug 19, 2024
1 parent 1ced169 commit 4d23a20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ if (githubActionsChromeDriver && chromeDriverExists(githubActionsChromeDriver))
console.warn('ChromeDriver not found in expected locations. Using default.');
}

console.info(process.env.CHROME_BIN);

exports.config = {
//
// ====================
Expand Down Expand Up @@ -71,6 +73,7 @@ exports.config = {
maxInstances: 4,
browserName: 'chrome',
'goog:chromeOptions': {
binary: process.env.CHROME_BIN,
args: ['headless', 'disable-gpu', 'no-sandbox']
},
}],
Expand Down

0 comments on commit 4d23a20

Please sign in to comment.