A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/SeleniumHQ/selenium/issues/11745 below:

selenium-manager returns multiple lines when chromedriver has been installed through npm · Issue #11745 · SeleniumHQ/selenium · GitHub

What happened?

Source of the issue of SeleniumHQ/selenium-ide#1594

With a certain configuration (see below) selenium-manager returns multiple lines, and selenium-side-runner cannot process it because it expects a single result, on a single line.

selenium-side-runner could be changed to process multiple lines, but the first line returned by selenium-manager is the Unix shell script (installed by npm), which is obviously not runnable on Windows. So it's not possible to know which line is the right one.

How can we reproduce the issue?

As per the documentation: https://www.selenium.dev/selenium-ide/docs/en/introduction/command-line-runner

=> multiple lines are returned.

> npm install -g chromedriver
> .\selenium-manager.exe -b chrome
 INFO    D:\Users\cosmo\AppData\Roaming\npm\chromedriver
 D:\Users\cosmo\AppData\Roaming\npm\chromedriver.cmd

If I uninstall the npm chromedriver, it returns a completely different output.

> npm uninstall -g chromedriver
> .\selenium-manager.exe -b chrome
INFO    D:\Users\cosmo\.cache\selenium\chromedriver\win32\110.0.5481.77\chromedriver.exe`
Operating System

Windows 10

Selenium version

selenium-side-runner 4.0.0-alpha.42
selenium-manager 1.0.0-M3


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4