@@ -54,21 +54,21 @@ exports.config = {
54
54
//
55
55
capabilities : [
56
56
{
57
- // maxInstances can get overwritten per capability. So if you have an in-house Selenium
58
- // grid with only 5 firefox instances available you can make sure that not more than
59
- // 5 instances get started at a time.
60
57
maxInstances : 5 ,
61
- //
62
58
browserName : 'chrome' ,
63
59
acceptInsecureCerts : true ,
64
- // If outputDir is provided WebdriverIO can capture driver session logs
65
- // it is possible to configure which logTypes to include/exclude.
66
- // excludeDriverLogs: ['*'], // pass '*' to exclude all driver session logs
67
- // excludeDriverLogs: ['bugreport', 'server'],
68
60
'goog:chromeOptions' : {
69
61
args : process . env . CI ? [ '--headless' ] : [ ] ,
70
62
} ,
71
63
} ,
64
+ {
65
+ maxInstances : 5 ,
66
+ browserName : 'firefox' ,
67
+ acceptInsecureCerts : true ,
68
+ 'moz:firefoxOptions' : {
69
+ args : process . env . CI ? [ '--headless' ] : [ ] ,
70
+ } ,
71
+ } ,
72
72
] ,
73
73
//
74
74
// ===================
@@ -117,7 +117,7 @@ exports.config = {
117
117
// Services take over a specific job you don't want to take care of. They enhance
118
118
// your test setup with almost no effort. Unlike plugins, they don't add new
119
119
// commands. Instead, they hook themselves up into the test process.
120
- services : [ 'chromedriver' ] ,
120
+ services : [ [ 'selenium-standalone' , { drivers : { firefox : true , chrome : true } } ] ] ,
121
121
122
122
// Framework you want to run your specs with.
123
123
// The following are supported: Mocha, Jasmine, and Cucumber
0 commit comments