Skip to content

Commit b78f192

Browse files
authored
Update list CLI options (#1678)
1 parent 91aa817 commit b78f192

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

website_and_docs/content/documentation/grid/configuration/cli_options.en.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ pull request updating this page.
162162
| `--reject-unsupported-caps` | boolean | `false` | Allow the Distributor to reject a request immediately if the Grid does not support the requested capability. Rejecting requests immediately is suitable for a Grid setup that does not spin up Nodes on demand. |
163163
| `--slot-matcher` | string | `org.openqa.selenium.grid.data.DefaultSlotMatcher` | Full class name of non-default slot matcher to use. This is used to determine whether a Node can support a particular session. |
164164
| `--slot-selector` | string | `org.openqa.selenium.grid.distributor.selector.DefaultSlotSelector` | Full class name of non-default slot selector. This is used to select a slot in a Node once the Node has been matched. |
165+
| `--newsession-threadpool-size` | int | `24` | The Distributor uses a fixed-sized thread pool to create new sessions as it consumes new session requests from the queue. This allows configuring the size of the thread pool. The default value is no. of available processors * 3. Note: If the no. of threads is way greater than the available processors it will not always increase the performance. A high number of threads causes more context switching which is an expensive operation. |
165166

166167
### Docker
167168

@@ -174,6 +175,7 @@ pull request updating this page.
174175
| `--docker-port` | int | `2375` | Port where the Docker daemon is running |
175176
| `--docker-url` | string | `http://localhost:2375` | URL for connecting to the Docker daemon |
176177
| `--docker-video-image` | string | `selenium/video:latest` | Docker image to be used when video recording is enabled |
178+
| `--docker-host-config-keys` | string[] | `Dns DnsOptions DnsSearch ExtraHosts Binds` | Specify which docker host configuration keys should be passed to browser containers. Keys name can be found in the Docker API [documentation](https://docs.docker.com/engine/api/v1.41/#tag/Container/operation/ContainerCreate), or by running `docker inspect` the node-docker container. |
177179

178180
### Events
179181

@@ -244,6 +246,7 @@ pull request updating this page.
244246
| `--password` | string | `myStrongPassword` | Password clients must use to connect to the server. Both this and the username need to be set in order to be used. |
245247
| `--username` | string | `admin` | User name clients must use to connect to the server. Both this and the password need to be set in order to be used. |
246248
| `--sub-path` | string | `my_company/selenium_grid` | A sub-path that should be considered for all user facing routes on the Hub/Router/Standalone. |
249+
| `--disable-ui` | boolean | `true` | Disable the Grid UI. |
247250

248251

249252
### Server

website_and_docs/content/documentation/grid/configuration/cli_options.ja.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ Grid の設定には、さまざまなセクションが用意されています
161161
| `--reject-unsupported-caps` | boolean | `false` | Grid がサポートしていない capabilities をリクエストされた時、ディストリビューターがリクエストを即座に今日できるようにします。これはオンデマンドでノードを立ち上げをしない Grid の設定に適しています。 |
162162
| `--slot-matcher` | string | `org.openqa.selenium.grid.data.DefaultSlotMatcher` | デフォルト以外で使用するスロットマッチャーの完全なクラス名。これはノードが特定のセッションをサポートできるかを判断するために使用されます。 |
163163
| `--slot-selector` | string | `org.openqa.selenium.grid.distributor.selector.DefaultSlotSelector` | デフォルト以外のスロットセレクターの完全なクラス名。これは、ノードがマッチした後ノード内のスロットを選択するために使用されます。 |
164+
| `--newsession-threadpool-size` | int | `24` | The Distributor uses a fixed-sized thread pool to create new sessions as it consumes new session requests from the queue. This allows configuring the size of the thread pool. The default value is no. of available processors * 3. Note: If the no. of threads is way greater than the available processors it will not always increase the performance. A high number of threads causes more context switching which is an expensive operation. |
164165

165166
### Docker
166167

@@ -173,6 +174,7 @@ Grid の設定には、さまざまなセクションが用意されています
173174
| `--docker-port` | int | `2375` | Docker デーモンが動作しているポート名。 |
174175
| `--docker-url` | string | `http://localhost:2375` | Docker デーモンに接続するための URL。 |
175176
| `--docker-video-image` | string | `selenium/video:latest` | ビデオレコーディングが有効になっているときに利用される Docker イメージ。 |
177+
| `--docker-host-config-keys` | string[] | `Dns DnsOptions DnsSearch ExtraHosts Binds` | Specify which docker host configuration keys should be passed to browser containers. Keys name can be found in the Docker API [documentation](https://docs.docker.com/engine/api/v1.41/#tag/Container/operation/ContainerCreate), or by running `docker inspect` the node-docker container. |
176178

177179
### Events
178180

@@ -243,6 +245,7 @@ Grid の設定には、さまざまなセクションが用意されています
243245
| `--password` | string | `myStrongPassword` | クライアントがサーバーに接続する際に使用するパスワード。このパスワードとユーザー名の両方が設定されていないと使用できません。 |
244246
| `--username` | string | `admin` | クライアントがサーバーに接続する際に使用するユーザー名。このユーザー名とパスワードの両方が設定されていないと使用できません。 |
245247
| `--sub-path` | string | `my_company/selenium_grid` | A sub-path that should be considered for all user facing routes on the Hub/Router/Standalone. |
248+
| `--disable-ui` | boolean | `true` | Disable the Grid UI. |
246249

247250
### Server
248251

website_and_docs/content/documentation/grid/configuration/cli_options.pt-br.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ e esteja à vontade para nos enviar um pull request com alterações a esta pág
164164
| `--reject-unsupported-caps` | boolean | `false` | Permitir que o Distributor rejeite imediatamente um pedido de sessão se a Grid não suportar a capacidade pedida. Esta configuração é a ideal para Grid que não inicie Nodes a pedido. |
165165
| `--slot-matcher` | string | `org.openqa.selenium.grid.data.DefaultSlotMatcher` | Nome completo da class para uma implementação não padrão do comparador de slots. Isto é usado para determinar se um Node pode suportar uma sessão em particular. |
166166
| `--slot-selector` | string | `org.openqa.selenium.grid.distributor.selector.DefaultSlotSelector` | Nome completo da class para uma implementação não padrão do selector de slots. Isto é usado para selecionar um slot no Node caso tenha sido "matched". |
167+
| `--newsession-threadpool-size` | int | `24` | The Distributor uses a fixed-sized thread pool to create new sessions as it consumes new session requests from the queue. This allows configuring the size of the thread pool. The default value is no. of available processors * 3. Note: If the no. of threads is way greater than the available processors it will not always increase the performance. A high number of threads causes more context switching which is an expensive operation. |
167168

168169
### Docker
169170

@@ -176,6 +177,7 @@ e esteja à vontade para nos enviar um pull request com alterações a esta pág
176177
| `--docker-port` | int | `2375` | Port where the Docker daemon is running |
177178
| `--docker-url` | string | `http://localhost:2375` | URL for connecting to the Docker daemon |
178179
| `--docker-video-image` | string | `selenium/video:latest` | Docker image to be used when video recording is enabled |
180+
| `--docker-host-config-keys` | string[] | `Dns DnsOptions DnsSearch ExtraHosts Binds` | Specify which docker host configuration keys should be passed to browser containers. Keys name can be found in the Docker API [documentation](https://docs.docker.com/engine/api/v1.41/#tag/Container/operation/ContainerCreate), or by running `docker inspect` the node-docker container. |
179181

180182
### Events
181183

@@ -247,6 +249,7 @@ e esteja à vontade para nos enviar um pull request com alterações a esta pág
247249
| `--password` | string | `myStrongPassword` | Password clients must use to connect to the server. Both this and the username need to be set in order to be used. |
248250
| `--username` | string | `admin` | User name clients must use to connect to the server. Both this and the password need to be set in order to be used. |
249251
| `--sub-path` | string | `my_company/selenium_grid` | A sub-path that should be considered for all user facing routes on the Hub/Router/Standalone. |
252+
| `--disable-ui` | boolean | `true` | Disable the Grid UI. |
250253

251254

252255
### Server

website_and_docs/content/documentation/grid/configuration/cli_options.zh-cn.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ pull request updating this page.
171171
| `--reject-unsupported-caps` | boolean | `false` | Allow the Distributor to reject a request immediately if the Grid does not support the requested capability. Rejecting requests immediately is suitable for a Grid setup that does not spin up Nodes on demand. |
172172
| `--slot-matcher` | string | `org.openqa.selenium.grid.data.DefaultSlotMatcher` | Full class name of non-default slot matcher to use. This is used to determine whether a Node can support a particular session. |
173173
| `--slot-selector` | string | `org.openqa.selenium.grid.distributor.selector.DefaultSlotSelector` | Full class name of non-default slot selector. This is used to select a slot in a Node once the Node has been matched. |
174+
| `--newsession-threadpool-size` | int | `24` | The Distributor uses a fixed-sized thread pool to create new sessions as it consumes new session requests from the queue. This allows configuring the size of the thread pool. The default value is no. of available processors * 3. Note: If the no. of threads is way greater than the available processors it will not always increase the performance. A high number of threads causes more context switching which is an expensive operation. |
174175

175176
### Docker
176177

@@ -183,6 +184,7 @@ pull request updating this page.
183184
| `--docker-port` | int | `2375` | Port where the Docker daemon is running |
184185
| `--docker-url` | string | `http://localhost:2375` | URL for connecting to the Docker daemon |
185186
| `--docker-video-image` | string | `selenium/video:latest` | Docker image to be used when video recording is enabled |
187+
| `--docker-host-config-keys` | string[] | `Dns DnsOptions DnsSearch ExtraHosts Binds` | Specify which docker host configuration keys should be passed to browser containers. Keys name can be found in the Docker API [documentation](https://docs.docker.com/engine/api/v1.41/#tag/Container/operation/ContainerCreate), or by running `docker inspect` the node-docker container. |
186188

187189
### Events
188190

@@ -253,6 +255,7 @@ pull request updating this page.
253255
| `--password` | string | `myStrongPassword` | Password clients must use to connect to the server. Both this and the username need to be set in order to be used. |
254256
| `--username` | string | `admin` | User name clients must use to connect to the server. Both this and the password need to be set in order to be used. |
255257
| `--sub-path` | string | `my_company/selenium_grid` | A sub-path that should be considered for all user facing routes on the Hub/Router/Standalone. |
258+
| `--disable-ui` | boolean | `true` | Disable the Grid UI. |
256259

257260

258261
### Server

0 commit comments

Comments
 (0)