File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -161,9 +161,10 @@ suite('selenium', function() {
161
161
162
162
try {
163
163
console . log ( 'Using Firefox: ' + firefoxStableBinaryPath ) ;
164
- console . log ( 'Version: ' + childProcess . execSync ( firefoxStableBinaryPath + ' --version' ) . replace ( '\n' , '' ) ) ;
165
- console . log ( 'Beta Version: ' + childProcess . execSync ( firefoxBetaBinaryPath + ' --version' ) . replace ( '\n' , '' ) ) ;
166
- console . log ( 'Aurora Version: ' + childProcess . execSync ( firefoxAuroraBinaryPath + ' --version' ) . replace ( '\n' , '' ) ) ;
164
+ console . log ( 'Version: ' + childProcess . execSync ( firefoxStableBinaryPath + ' --version' ) . toString ( ) . replace ( '\n' , '' ) ) ;
165
+ console . log ( 'Beta Version: ' + childProcess . execSync ( firefoxBetaBinaryPath + ' --version' ) . toString ( ) . replace ( '\n' , '' ) ) ;
166
+ //console.log('Aurora Version: ' + childProcess.execSync(firefoxAuroraBinaryPath + ' --version').toString().replace('\n', ''));
167
+ console . log ( 'Nightly Version: ' + childProcess . execSync ( firefoxNightlyBinaryPath + ' --version' ) . toString ( ) . replace ( '\n' , '' ) ) ;
167
168
} catch ( e ) { }
168
169
169
170
if ( process . env . GCM_API_KEY && ! fs . existsSync ( chromeBinaryPath ) ) {
@@ -172,7 +173,7 @@ suite('selenium', function() {
172
173
173
174
try {
174
175
console . log ( 'Using Chromium: ' + chromeBinaryPath ) ;
175
- console . log ( 'Version: ' + childProcess . execSync ( chromeBinaryPath + ' --version' ) . replace ( '\n' , '' ) ) ;
176
+ console . log ( 'Version: ' + childProcess . execSync ( chromeBinaryPath + ' --version' ) . toString ( ) . replace ( '\n' , '' ) ) ;
176
177
} catch ( e ) { }
177
178
} ) ;
178
179
} ) ;
You can’t perform that action at this time.
0 commit comments