diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index d0cfffa8df..7ea03368f5 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -35,7 +35,6 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: 16 cache: npm - name: Install npm dependencies diff --git a/test/index.js b/test/index.js index d9641c9153..f8754063c3 100644 --- a/test/index.js +++ b/test/index.js @@ -17,7 +17,7 @@ if (!coverageReportRun) { test.before(async () => { geckodriver = await startGeckodriver(1022, 12 * 1000); session = new webdriver.Builder() - .usingServer('http://localhost:' + geckodriver.port) + .usingServer('http://127.0.0.1:' + geckodriver.port) .withCapabilities({ 'moz:firefoxOptions': { args: firefoxArgs, diff --git a/test/util/start-geckodriver.js b/test/util/start-geckodriver.js index 110a771400..01d6a25608 100644 --- a/test/util/start-geckodriver.js +++ b/test/util/start-geckodriver.js @@ -35,7 +35,7 @@ const startOnPort = (port, timeout) => { return; } - getJSON('http://localhost:' + port + '/status') + getJSON('http://127.0.0.1:' + port + '/status') .then((data) => { assert(data.value.ready);