-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Selenium Grid 4.0.0-alpha5 doesn't find commands (in embedded mode) #8130
Comments
@asolntsev what was the command that you tried? It is not clear from the issue description. |
My command line was exactly like this:
|
Ah ok, got it. Grid 4 is only giving the information about the available commands when no parameter is given:
As the output says,
For example:
Could you please give it a try? |
@diemol My bad. Now I understand that it was the expected output. Sorry for miscommunication. :( What I actually was trying to do is running embedded grid server. import org.openqa.selenium.grid.Main;
@BeforeEach
final void setUpGrid() throws Exception {
int hubPort = findFreePort();
Main.main(new String[]{"standalone", "--port", String.valueOf(hubPort)});
} In this case, "standalone" and any other commands are not found. Maybe it's not directly a bug, but at least it may cause a confusion. Probably file |
P.S. I don't see |
@diemol Should we get something fixed here or close the issue? |
@AutomatedTester @diemol Yes, I suggest the following action point:
Alternatively,
|
@AutomatedTester Yes, we should fix |
First question: are you pulling this into a project by a maven dependency, or just grabbing the jar? |
@shs96c yes, I use |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🐛 Bug Report
When I run grid commands as described in wiki, I see only help message.
To Reproduce
❯❯❯ java -jar selenium-server-4.0.0-alpha-5.jar
Expected behaviour
A selenium grid server should be start with given command.
Environment
OS: Any (I use MacOS)
Browser: -
Browser version: -
Browser Driver version: -
Language Bindings version: 4.0.0-alpha-5
Selenium Grid version (if applicable): 4.0.0-alpha-5
The bug cause
File
META-INF/services/org.openqa.selenium.cli.CliCommand
inselenium-grid-4.0.0-alpha-5.jar
contains only one line:but should contain all grid commands:
The text was updated successfully, but these errors were encountered: