Share via

Edge for Linux reports wrong version string as "unknown".

Masayuki Nii 0 Reputation points
2023-07-18T08:35:33.4266667+00:00

I'm developing the end-to-end test code with Webdriver.io on my GitHub Action. I could install the Microsoft Edge with "browser-actions/setup-edge@v1", but the version of the Edge reports "unknown" as like.

Run browser-actions/setup-edge@v1 8Setup Edge stable 9Attempting to download Edge stable... 10Acquiring stable (114.0.1823.82) from https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/microsoft-edge-stable_114.0.1823.82-1_amd64.deb 11Installing Edge... 12/usr/bin/ar x /home/runner/work/_temp/1b405472-ebbb-4b71-ba32-3e933055c7e3 13/usr/bin/tar -xf /tmp/deb-LOmbXC/data.tar.xz --directory /tmp/msedge-ecDbik --strip-components 4 ./opt/microsoft 14Successfully Installed msedge to /opt/hostedtoolcache/msedge/stable/x64 15Successfully setup Edge stable 16/opt/hostedtoolcache/msedge/stable/x64/msedge --version 17Microsoft Edge 114.0.1823.82 unknown

In my code later, e2e test is started, but it suddenly failed because the Edge version is "unknown". I think it's a bug of Edge Linux version.

Run cd spec/run;npx wdio wdio-edge.conf.js 8 9Execution of 15 workers started at 2023-07-18T06:03:32.239Z 10 112023-07-18T06:03:33.010Z ERROR @wdio/cli:utils: A service failed in the 'onPrepare' hook 12Error: No version "unknown" found, latest versions available are 117.0.1986.0, 117.0.1986.0, 117.0.1986.0, 117.0.1986.0, 117.0.1986.0, 117.0.1981.0, 117.0.1981.0, 117.0.1981.0, 117.0.1980.0, 117.0.1980.0 13 at fetchVersion (file:///home/runner/work/INTER-Mediator/INTER-Mediator/spec/run/node_modules/edgedriver/dist/install.js:71:15)

Microsoft Edge | Microsoft Edge development
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.