### Standalone Configuration Example Source: https://github.com/seleniumhq/seleniumhq.github.io/blob/trunk/website_and_docs/content/documentation/grid/configuration/cli_options.en.md Example of starting a standalone Selenium Grid with specified max sessions and port. ```APIDOC ## Standalone, setting max sessions and main port ### Description Starts the Selenium Grid standalone component with configurations for maximum sessions and the main port. ### Method java -jar ### Endpoint selenium-server-.jar standalone ### Parameters #### Query Parameters - **--max-sessions** (int) - Required - Maximum number of concurrent sessions. - **--port** (int) - Required - The port on which the Grid will listen. ### Request Example ``` java -jar selenium-server-.jar standalone --max-sessions 4 --port 4444 ``` ``` -------------------------------- ### Node Configuration Example Source: https://github.com/seleniumhq/seleniumhq.github.io/blob/trunk/website_and_docs/content/documentation/grid/configuration/cli_options.en.md Example of starting a Selenium Grid Node with specific configurations for sessions, logging, port, and supported drivers. ```APIDOC ## Node, with 4 max sessions, with debug(fine) log, 7777 as port, and only with Firefox and Edge ### Description Starts the Selenium Grid Node component with configurations for maximum sessions, logging level, listening port, and specific driver implementations. ### Method java -jar ### Endpoint selenium-server-.jar node ### Parameters #### Query Parameters - **--max-sessions** (int) - Optional - Maximum number of concurrent sessions the Node can handle. - **--log-level** (string) - Optional - Sets the logging level. Example: `"fine"` for debug. - **--port** (int) - Required - The port on which the Node will listen. - **--driver-implementation** (string) - Optional - Specifies a supported browser driver. Can be specified multiple times. ### Request Example ``` java -jar selenium-server-.jar node --max-sessions 4 --log-level "fine" --port 7777 --driver-implementation "firefox" --driver-implementation "edge" ``` ``` -------------------------------- ### Hub Configuration Example Source: https://github.com/seleniumhq/seleniumhq.github.io/blob/trunk/website_and_docs/content/documentation/grid/configuration/cli_options.en.md Example of starting a Selenium Grid Hub with session request timeout, port, and tracing disabled. ```APIDOC ## Hub, setting a new session request timeout, a main port, and disabling tracing ### Description Starts the Selenium Grid Hub component, configuring session request timeout, listening port, and disabling tracing. ### Method java -jar ### Endpoint selenium-server-.jar hub ### Parameters #### Query Parameters - **--session-request-timeout** (int) - Optional - Timeout in milliseconds for new session requests. - **--port** (int) - Required - The port on which the Hub will listen. - **--tracing** (boolean) - Optional - Whether to enable tracing. `false` disables it. ### Request Example ``` java -jar selenium-server-.jar hub --session-request-timeout 500 --port 3333 --tracing false ``` ``` -------------------------------- ### Starting Selenium Grid Component with Command-Line Flags Source: https://github.com/seleniumhq/seleniumhq.github.io/blob/trunk/website_and_docs/content/documentation/grid/configuration/cli_options.pt-br.md This example demonstrates how to start a Selenium Grid component using command-line flags. It shows the general syntax for passing configuration options to the Selenium server JAR file. Replace ``, ``, and `