UNPKG
ghostjs
Version:
latest (1.13.2)
1.13.2
1.13.1
1.13.0
1.12.1
1.12.0
1.11.0
1.10.4
1.10.3
1.10.2
1.10.1
1.10.0
1.9.0
1.8.0
1.7.1
1.7.0
1.6.1
1.6.0
1.5.10
1.5.9
1.5.8
1.5.7
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.1
1.4.0
1.3.3
1.3.1
1.3.0
1.2.0
1.1.9
1.1.8
1.1.7
1.1.6
1.1.5
1.1.4
1.1.2
1.1.1
1.1.0
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Modern web integration test runner
github.com/KevinGrandon/ghostjs
KevinGrandon/ghostjs
ghostjs
/
src
/
utils.js
11 lines
(9 loc)
•
232 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
function
getChromeFlags
()
{
let
args
= []
if
(process.env.CHROME_FLAGS) {
const
chromeFlags = process.env.CHROME_FLAGS.split(
','
)
args
=
args
.concat(chromeFlags) }
return
args
} module.exports = { getChromeFlags }