mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-22 19:05:56 -04:00
Update selenium-helpers.js
Fix spacing
This commit is contained in:
parent
0d836101b4
commit
d031797e11
1 changed files with 7 additions and 7 deletions
|
@ -63,13 +63,13 @@ class SeleniumHelper {
|
|||
return driver;
|
||||
}
|
||||
|
||||
getChromeVersionNumber () {
|
||||
const versionFinder = /\d+\.\d+/;
|
||||
const versionArray = versionFinder.exec(chromedriverVersion);
|
||||
if (versionArray === null) {
|
||||
throw new Error('couldn\'t find version of chromedriver');
|
||||
}
|
||||
return versionArray[0];
|
||||
getChromeVersionNumber () {
|
||||
const versionFinder = /\d+\.\d+/;
|
||||
const versionArray = versionFinder.exec(chromedriverVersion);
|
||||
if (versionArray === null) {
|
||||
throw new Error('couldn\'t find version of chromedriver');
|
||||
}
|
||||
return versionArray[0];
|
||||
}
|
||||
|
||||
getSauceDriver (username, accessKey, name) {
|
||||
|
|
Loading…
Reference in a new issue