-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Description
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
- Install ChromeDriver through npm:
npm install -g chromedriver
- Run
selenium-manager.exe -b chrome
=> 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
Metadata
Metadata
Assignees
Labels
Type
Projects
Status