Skip to content

Commit

Permalink
Don't run Selenium tests on Node 4
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-c committed Dec 19, 2017
1 parent 7ad17e5 commit 8f69c6c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/helpers/download-test-browsers.js
@@ -1,5 +1,11 @@
'use strict';

// The latest version of Selenium doesn't support Node 4.
const semver = require('semver');
if (!semver.satisfies(process.version, '5')) {
return;
}

const seleniumAssistant = require('selenium-assistant');

const MAX_RETRIES = 3;
Expand Down
6 changes: 6 additions & 0 deletions test/testSelenium.js
@@ -1,5 +1,11 @@
'use strict';

// The latest version of Selenium doesn't support Node 4.
const semver = require('semver');
if (!semver.satisfies(process.version, '5')) {
return;
}

const seleniumAssistant = require('selenium-assistant');
const webdriver = require('selenium-webdriver');
const seleniumFirefox = require('selenium-webdriver/firefox');
Expand Down

0 comments on commit 8f69c6c

Please sign in to comment.