mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 06:17:44 +01:00
chrome new headless
This commit is contained in:
parent
577663f706
commit
9659d41b83
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,7 @@ var SCREENSHOT_PATH = artifacts.pathSync("screenshots");
|
||||||
exports.config = {
|
exports.config = {
|
||||||
runner: 'local',
|
runner: 'local',
|
||||||
path: '/wd/hub',
|
path: '/wd/hub',
|
||||||
|
|
||||||
specs: [
|
specs: [
|
||||||
'./test/functional/index.js'
|
'./test/functional/index.js'
|
||||||
],
|
],
|
||||||
|
@ -19,6 +20,9 @@ exports.config = {
|
||||||
{
|
{
|
||||||
maxInstances: 5,
|
maxInstances: 5,
|
||||||
browserName: (process.env.BROWSER || 'chrome'),
|
browserName: (process.env.BROWSER || 'chrome'),
|
||||||
|
'goog:chromeOptions': {
|
||||||
|
args: ['headless=new']
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
// geckodriver-0.31 seems to have problems as of 2022 May 1
|
// geckodriver-0.31 seems to have problems as of 2022 May 1
|
||||||
|
|
Loading…
Reference in a new issue