Index: test/browsers/chromium.js |
diff --git a/test/browsers/chromium.js b/test/browsers/chromium.js |
index 9672237cd704441d113711a0fc192efabed3af00..fce87597ae9e3ac32b194cc4485babbe7a214291 100644 |
--- a/test/browsers/chromium.js |
+++ b/test/browsers/chromium.js |
@@ -22,6 +22,10 @@ const chrome = require("selenium-webdriver/chrome"); |
const {ensureChromium} = require("../../adblockpluscore/test/runners/" + |
"chromium_download"); |
+// We need to require the chromedriver, |
+// otherwise on Windows the chromedriver path is not added to process.env.PATH. |
+require("chromedriver"); |
+ |
exports.platform = "chrome"; |
exports.ensureBrowser = ensureChromium; |