simonm
(Simon)
February 14, 2024, 2:00pm
28
Hi Lucas,
I have found another issue, have a look at it and try the suggestions in it.
opened 03:06PM - 19 Sep 23 UTC
closed 02:02PM - 26 Sep 23 UTC
I-defect
bug
C-rust
### What happened?
I am running windows 10.
The selenium-manager.exe is in the… folder "c:\LProg\Ldev\selenium_grid\grid4".
The config toml file is in the folder "C:\Users\myUser\.cache\selenium" and is named "se-config.toml".
The selenium manager is running fine with this command:
selenium-manager --proxy="myUser:myPassword@myProxy:myPort" --cache-path="C:\Users\myUser\.cache\selenium" --browser="firefox" --os="windows" --debug --trace
The geckodriver is downloaded.
But if I start the selenium-manager.exe without parameters, I am always getting the error message "ERROR You need to specify a browser or driver".
But why, the config toml is in the folder "C:\Users\myUser\.cache\selenium".
This is my config toml file:
browser="firefox"
os="windows"
proxy="myUser:myPassword@myProxy:myPort"
cache-path="C:\Users\myUser\.cache\selenium"
debug=true
trace=true
### How can we reproduce the issue?
```shell
Create a config toml file with this content:
browser="firefox"
os="windows"
proxy="myUser:myPassword@myProxy:myPort"
cache-path="C:\Users\myUser\.cache\selenium"
debug=true
trace=true
Put the file in the folder "C:\Users\myUser\.cache\selenium" and start selenium-manager.exe
```
### Relevant log output
```shell
ERROR You need to specify a browser or driver
```
### Operating System
Windows 10
### Selenium version
4.12.1
### What are the browser(s) and version(s) where you see this issue?
Firefox 102.14.0.8605
### What are the browser driver(s) and version(s) where you see this issue?
Geckodriver 0.33
### Are you using Selenium Grid?
Java 4.12.1
But I can’t confirm that because I don’t use Selenium at all.
With that, I would also like to answer your question: My recommendation is clearly the Browser Library . It is based on Playwright, which is a much better tool for automated web testing. I will publish a separate video course on this, please sign up for the waiting list on the Robotmk page.
I hope that this is of any help for you!
Reach out to me if there is anything unclear.
Kind regards,
Simon