Skip to content

fix: Replace fallback mechanism - #565

Merged
dprevost-LMI merged 20 commits into
webdriverio-community:mainfrom
dprevost-LMI:remove-shutdown-edgedriver
Sep 13, 2026
Merged

dprevost-LMI merged 20 commits into
webdriverio-community:mainfrom
dprevost-LMI:remove-shutdown-edgedriver

Conversation

@dprevost-LMI

@dprevost-LMI dprevost-LMI commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Fix the WebDriverIO pipelines failing with Cannot read properties of undefined (reading 'Blobs') showing that the fallback mechanism is no longer working (see pipeline error)

While fixing, multiple inconsistencies arose.

  1. LATEST_RELEASE_153_MAC changed for LATEST_RELEASE_153_MACOS
  2. LATEST_RELEASE_153_WIN changed to LATEST_RELEASE_153_WINDOWS
  3. The detected installed edge browser version is v152.0.4191.66 while https://msedgedriver.microsoft.com/152.0.4191.66/edgedriver_mac64_m1.zip does not exist and https://msedgedriver.microsoft.com/LATEST_RELEASE_152_MACOS actually returns 152.0.4191.62 and not 152.0.4191.66

In short, an installed browser version does not have a 1:1 driver guarantee. If we can't find the browser's corresponding driver version, we fall back to the latest major version.

Bonus:

  • Upgrade some deps
  • Review e2e to be more structured and robust
Error: Error: Failed to download Edgedriver: Cannot read properties of undefined (reading 'Blobs')
Error: Failed to download Edgedriver: Cannot read properties of undefined (reading 'Blobs')
    at downloadDriver (/Users/runner/work/webdriverio/webdriverio/node_modules/.pnpm/edgedriver@6.3.0/node_modules/edgedriver/src/install.ts:134:15)
    at downloadDriver (/Users/runner/work/webdriverio/webdriverio/node_modules/.pnpm/edgedriver@6.3.0/node_modules/edgedriver/src/install.ts:134:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
    at async download (/Users/runner/work/webdriverio/webdriverio/node_modules/.pnpm/edgedriver@6.3.0/node_modules/edgedriver/src/install.ts:58:17)
    at async download (/Users/runner/work/webdriverio/webdriverio/node_modules/.pnpm/edgedriver@6.3.0/node_modules/edgedriver/src/install.ts:58:17)
    at async Promise.all (index 2)
    at async Promise.all (index 2)
    at async Promise.all (index 0)
    at async Promise.all (index 0)
    at async Launcher.run (file:///Users/runner/work/webdriverio/webdriverio/packages/wdio-cli/build/index.js:886:7)
    at async Launcher.run (file:///Users/runner/work/webdriverio/webdriverio/packages/wdio-cli/build/index.js:886:7)

@dprevost-LMI dprevost-LMI changed the title fix: Fallback on stable? fix: Remove fallback mechanism Sep 12, 2026
@dprevost-LMI
dprevost-LMI marked this pull request as ready for review September 12, 2026 19:17
@dprevost-LMI
dprevost-LMI marked this pull request as draft September 12, 2026 19:23
@dprevost-LMI
dprevost-LMI marked this pull request as draft September 12, 2026 22:42
@dprevost-LMI
dprevost-LMI force-pushed the remove-shutdown-edgedriver branch from 218ed2c to b7d4fd3 Compare September 12, 2026 23:59
@dprevost-LMI dprevost-LMI changed the title fix: Remove fallback mechanism fix: Replace fallback mechanism Sep 13, 2026
@dprevost-LMI
dprevost-LMI marked this pull request as ready for review September 13, 2026 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant