Skip to content

[πŸ› Bug]: Edge fails with Selenium Manager "Unable to obtain browser driver"Β #16335

@mantheypw

Description

@mantheypw

Description

Trying to run Selenium with Edge using Selenium Manager.
Works with Chrome but fails on Microsoft Edge and when I have the version set to 140.
So its failing on downloading version 139.

On checking the logs, I think its trying to download the driver from the wrong location. It should be:
https://msedgedriver.microsoft.com/139.0.3405.125/edgedriver_win64.zip

Reproducible Code

driver = await new Builder()
            .forBrowser('MicrosoftEdge')
            .withCapabilities({
                browserName: 'MicrosoftEdge',
            browserVersion: '139' // replace with your desired version
            })
            .build();

Debugging Logs

Error: Unable to obtain browser driver.
        For more information on how to install drivers see
        https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location/. Error: Error executing command for C:\Users\______\VS_Code\selenium-automation\node_modules\selenium-webdriver\bin\windows\selenium-manager.exe with --browser,MicrosoftEdge,--language-binding,javascript,--output,json,--browser-version,139: MicrosoftEdge 139 cannot be downloaded

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions