What happened?
Selenium version: 4.8.1
We use a hub & node setup:
We set our selenium nodes to detect their own browsers & we supply the driver version to use.
The problem with the selenium-manager in our use case is:
In our Windows environment we have IE, Chrome, Firefox, & Edge installed. We do not test for IE (nor want the binary downloaded)
Yet now the Internet explorer driver is downloaded by the manager.
Is there a flag to pass to the selenium node to ignore unwanted selenium-manager downloads?
I can see we can set the --driver-implementation flag; while that only sets the node to not configure the undesired browser & makes it not available (IE in our case), yet the manager still downloads the driver, since the driver was detected.
Our security tool flags this download.
How can we reproduce the issue?
Start up a windows node, that has IE installed on the system & make sure not to supply an IE driver. Call your instance something like:
java -Dwebdriver.chrome.driver=C:/selenium/drivers/chromedriver.exe -jar C:/selenium/drivers/selenium-server.jar --detect-drivers true --driver-implementation "chrome" node
Then go to users home directory and look in the .cache folder for the driver:
C:\Users\$USER\.cache\selenium\IEDriverServer\win32\4.8.0
### Relevant log output
```shell
16:34:28.664 INFO [NodeOptions.discoverDrivers] - Discovered 4 driver(s)
Operating System
Windows 10 & Server 2019
Selenium version
Java 11 with 4.8.1
What are the browser(s) and version(s) where you see this issue?
Latest versions
What are the browser driver(s) and version(s) where you see this issue?
IEDriverServer 4.8.0
Are you using Selenium Grid?
4.8.1
What happened?
Selenium version: 4.8.1
We use a hub & node setup:
We set our selenium nodes to detect their own browsers & we supply the driver version to use.
The problem with the selenium-manager in our use case is:
In our Windows environment we have IE, Chrome, Firefox, & Edge installed. We do not test for IE (nor want the binary downloaded)
Yet now the Internet explorer driver is downloaded by the manager.
Is there a flag to pass to the selenium node to ignore unwanted selenium-manager downloads?
I can see we can set the --driver-implementation flag; while that only sets the node to not configure the undesired browser & makes it not available (IE in our case), yet the manager still downloads the driver, since the driver was detected.
Our security tool flags this download.
How can we reproduce the issue?
Then go to users home directory and look in the .cache folder for the driver:
Operating System
Windows 10 & Server 2019
Selenium version
Java 11 with 4.8.1
What are the browser(s) and version(s) where you see this issue?
Latest versions
What are the browser driver(s) and version(s) where you see this issue?
IEDriverServer 4.8.0
Are you using Selenium Grid?
4.8.1