Skip to content

Commit

Permalink
Merge pull request #823 from birkskyum/new-webdriver
Browse files Browse the repository at this point in the history
Chrome new headless
  • Loading branch information
birkskyum authored Oct 22, 2023
2 parents 4b97f82 + 5ab9be9 commit eb55796
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10 as builder
FROM node:16 as builder
WORKDIR /maputnik

# Only copy package.json to prevent npm install from running on every build
Expand Down
4 changes: 4 additions & 0 deletions config/wdio.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ var SCREENSHOT_PATH = artifacts.pathSync("screenshots");
exports.config = {
runner: 'local',
path: '/wd/hub',

specs: [
'./test/functional/index.js'
],
Expand All @@ -19,6 +20,9 @@ exports.config = {
{
maxInstances: 5,
browserName: (process.env.BROWSER || 'chrome'),
'goog:chromeOptions': {
args: ['headless=new']
}
}
],
// geckodriver-0.31 seems to have problems as of 2022 May 1
Expand Down

0 comments on commit eb55796

Please sign in to comment.