Já tenho o Java JDK instalado na minha máquina Windows 11 openjdk version "11.0.16.1" 2022-08-12 LTS
java version "1.8.0_401"
Quando executo o comando java -jar selenium-server-4.16.1.jar apresenta a seguinte mensagem:
PS C:\Users\lucas.santana\Downloads\executaveis> java -jar selenium-server-4.16.1.jarSelenium Server commands
A list of all the commands available. To use one, run java -jar selenium.jar commandName
.
completion Generate shell autocompletions distributor Adds this server as the distributor in a selenium grid. hub A grid hub, composed of sessions, distributor, and router. info Prints information for commands and topics. node Adds this server as a Node in the Selenium Grid. router Creates a router to front the selenium grid. sessionqueue Adds this server as the new session queue in a selenium grid. sessions Adds this server as the session map in a selenium grid. standalone The selenium server, running everything in-process.
For each command, run with --help
for command-specific help
Use the --ext
flag before the command name to specify an additional classpath
to use with the server (for example, to provide additional commands, or to
provide additional driver implementations). For example:
java -jar selenium.jar --ext example.jar;dir standalone --port 1234
Me parece que a sintaxe foi atualizada.