Skip to content

[🐛 Bug]: Selenium Manger.exe does not find the config toml file #12782

@Kalste

Description

@Kalste

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?

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

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

Metadata

Metadata

Assignees

Labels

C-rustRust code is mostly Selenium ManagerI-defectSomething is not working as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions