Skip to content

Commit 08e501e

Browse files
committed
Add function to download the Selenium server
1 parent c55ba87 commit 08e501e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/selenium-init.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,11 +279,18 @@ function downloadChromeDriver() {
279279
});
280280
}
281281

282+
// Download Selenium server
283+
284+
function downloadSeleniumServer() {
285+
return wget(destDir, 'https://selenium-release.storage.googleapis.com/2.53/selenium-server-standalone-2.53.0.jar');
286+
}
287+
282288
module.exports = {
283289
downloadFirefoxNightly: downloadFirefoxNightly,
284290
downloadFirefoxRelease: downloadFirefoxRelease,
285291
downloadFirefoxBeta: downloadFirefoxBeta,
286292
downloadFirefoxAurora: downloadFirefoxAurora,
287293
downloadChromiumNightly: downloadChromiumNightly,
288294
downloadChromeDriver: downloadChromeDriver,
295+
downloadSeleniumServer: downloadSeleniumServer,
289296
};

0 commit comments

Comments
 (0)