Skip to content

_WD_UpdateDriver no longer working (Edge V151.0.4129.78 64bit) #214

Description

@RobinJohnston

This function no longer working for any Edge version as the update version URL appears to have gone away so function is unable to pull appropriate version info. As a work around for the time being, I did the following which removes the offending _WD_GetLatestWebdriverInfo and replaces it with hard coded URL that assumes Webdriver URL matches current release URL in terms of versioning info. Seems to work for the version above but only spent limited time on this!
In wd_helper.au3, replace lines 2111-2118 with the following:

$sDriverCurrent = _WD_GetWebDriverVersion($sInstallDir, $sDriverEXE)
ConsoleWrite("Browser Version: " & $sBrowserVersion & Rishi Narang (@crlf))
; Determine latest available webdriver version for the designated browser
;Local $aBrowser = _ArrayExtract($_WD_SupportedBrowsers, $iIndex, $iIndex)
;Local $aDriverInfo = __WD_GetLatestWebdriverInfo($aBrowser, $sBrowserVersion, $bFlag64)
$iErr = $WD_ERROR_Success
$iExt = ExxWarrior (@Extended)
$sDriverLatest = $sBrowserVersion
$sURLNewDriver = "https://msedgedriver.microsoft.com/" & $sBrowserVersion & "/edgedriver
" & (($bFlag64) ? "win64.zip" : "win32.zip")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions