Unable to donwload latest selenium version

See original GitHub issue

Environment (please complete the following information):

  • WebdriverIO version: 7.14.1
  • Mode: Standalone
  • If WDIO Testrunner, running sync/async: [e.g. sync/async]async
  • Node.js version: 14
  • NPM version: 6.14.15
  • Browser name and version: 94
  • Platform name and version: Linux
  • Additional wdio packages used (if applicable): [e.g. @wdio/spec reporter, @wdio/selenium-standalone service]

Config of WebdriverIO

           services: [['selenium-standalone',
            { 
                installArgs: {
                    version: '4.0.0',
                    baseURL: 'https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.0.0',
                    drivers: {
                        chrome: {
                            version: drivers.chrome.version,
                            baseURL: 'https://chromedriver.storage.googleapis.com',
                        },
                        firefox: {
                            version: drivers.firefox.version,
                        },
                    }
                },
                args: {
                    seleniumArgs: ['-host', 'localhost', '-port', '4455'],
                    drivers
                },
            }
        ]],

Describe the bug Unable to use new GitHub URL for selenium version 4.0.0, as currently, existing method is appending extra parameters to the URL which doesn’t exist

To Reproduce Use the config above

Expected behavior Better handling for the GitHub URL for downloading selenium 4 jar https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.0.0/selenium-server-4.0.0.jar

Log

Error in "getDownloadStream". Could not download https://github.com/SeleniumHQ/selenium/releases/download   /selenium-4.0.0/4.0/selenium-server-4.0.0.jar
See more details below:
404 https://github.com/SeleniumHQ/selenium/releases/download/selenium-4.0.0/4.0/selenium-server-4.0.0.jar

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
christian-bromanncommented, Oct 18, 2021

I have been working on updating selenium-standalone package to use Selenium v4. Once I pushed a release I will close the issue.

0reactions
Pandicoolcommented, May 12, 2022

@amrsa1 are you able to run the selenium stand alone in different port ? for me its showing error like.

ERROR @wdio/runner: Error: Failed to create session. [0-1] Unable to connect to “http://localhost:4444/wd/hub”, make sure browser driver is running on that address. [0-1] If you use services like chromedriver see initialiseServices logs above or in wdio.log file as the service might had problems to start the driver.

In my wdio config : my configuration services: [ [‘selenium-standalone’, { args: { seleniumArgs: [“–host”,“localhost”,“–port”, “7777”] } }] ],

CC : @christian-bromann

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to download file using ChromeDriver - Stack Overflow
But while clicking on download button in application, it given error as " Failed-Download error. " Chromedriver version : 2.21 Selenium version :...
Read more >
selenium-python Downloading file Error -- Failed - Edureka
The path you declared for the default directory is invalid. Either escape the backslashes or provide a literal string. options = webdriver.
Read more >
Failed Download error since Chrome Version 75.0.3770.100 ...
Apparently Chrome sends a separate request to the server for the download, but this request is missing the necessary cookies, and so the...
Read more >
Download Selenium JARs and Configure in Eclipse
Selenium Download Selenium. Step 2: Click on Download link to download the jars for selenium. Selenium Download JARs Selenium Download Java.
Read more >
ChromeDriver is not compatible with the installed Chrome ...
Please update ChromeDriver to the appropriate version." or "No browser window is open, so navigation cannot continue." message is shown when ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found