You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: website_and_docs/content/documentation/grid/configuration/cli_options.en.md
+90Lines changed: 90 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -224,6 +224,7 @@ pull request updating this page.
224
224
|`--drain-after-session-count`| int |`1`| Drain and shutdown the Node after X sessions have been executed. Useful for environments like Kubernetes. A value higher than zero enables this feature. |
225
225
|`--hub`| string |`http://localhost:4444`| The address of the Hub in a Hub-and-Node configuration. Can be a hostname or IP address (`hostname`), in which case the Hub will be assumed to be `http://hostname:4444`, the `--grid-url` will be the same `--publish-events` will be `tcp://hostname:4442` and `--subscribe-events` will be `tcp://hostname:4443`. If `hostname` contains a port number, that will be used for `--grid-url` but the URIs for the event bus will remain the same. Any of these default values may be overridden but setting the correct flags. If the hostname has a protocol (such as `https`) that will be used too. |
226
226
|`--enable-cdp`| boolean |`true`| Enable CDP proxying in Grid. A Grid admin can disable CDP if the network doesnot allow websockets. True by default. |
227
+
|`--downloads-path`| string |`/usr/downloads`| The default location wherein all browser triggered file downloads would be available to be retrieved from. This is usually the directory that you configure in your browser as the default location for storing downloaded files. |
227
228
228
229
### Relay
229
230
@@ -349,3 +350,92 @@ driver.quit();
349
350
```
350
351
351
352
Set the custom capability to `false` in order to match the Node B.
353
+
354
+
#### Specifying path from where downloaded files can be retrieved
355
+
356
+
At times a test may need to access files that were downloaded by it on the Node. To retrieve such files, following can be done.
357
+
358
+
##### Start the Hub
359
+
```
360
+
java -jar selenium-server-<version>.jar hub
361
+
```
362
+
363
+
##### Start the Node with downloads path specified
|`--downloads-path`| string |`/usr/downloads`| The default location wherein all browser triggered file downloads would be available to be retrieved from. This is usually the directory that you configure in your browser as the default location for storing downloaded files. |
226
227
227
228
### Relay
228
229
@@ -349,3 +350,93 @@ driver.quit();
349
350
```
350
351
351
352
ノード B とマッチさせるにはカスタム capability を `false` に設定します。
353
+
354
+
355
+
#### Specifying path from where downloaded files can be retrieved
356
+
357
+
At times a test may need to access files that were downloaded by it on the Node. To retrieve such files, following can be done.
358
+
359
+
##### Start the Hub
360
+
```
361
+
java -jar selenium-server-<version>.jar hub
362
+
```
363
+
364
+
##### Start the Node with downloads path specified
Copy file name to clipboardExpand all lines: website_and_docs/content/documentation/grid/configuration/cli_options.pt-br.md
+92Lines changed: 92 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -226,6 +226,8 @@ e esteja à vontade para nos enviar um pull request com alterações a esta pág
226
226
|`--drain-after-session-count`| int |`1`| Drain and shutdown the Node after X sessions have been executed. Useful for environments like Kubernetes. A value higher than zero enables this feature. |
227
227
|`--hub`| string |`http://localhost:4444`| The address of the Hub in a Hub-and-Node configuration. Can be a hostname or IP address (`hostname`), in which case the Hub will be assumed to be `http://hostname:4444`, the `--grid-url` will be the same `--publish-events` will be `tcp://hostname:4442` and `--subscribe-events` will be `tcp://hostname:4443`. If `hostname` contains a port number, that will be used for `--grid-url` but the URIs for the event bus will remain the same. Any of these default values may be overridden but setting the correct flags. If the hostname has a protocol (such as `https`) that will be used too. |
228
228
|`--enable-cdp`| boolean |`true`| Enable CDP proxying in Grid. A Grid admin can disable CDP if the network doesnot allow websockets. True by default. |
229
+
|`--downloads-path`| string |`/usr/downloads`| The default location wherein all browser triggered file downloads would be available to be retrieved from. This is usually the directory that you configure in your browser as the default location for storing downloaded files. |
230
+
229
231
230
232
### Relay
231
233
@@ -351,3 +353,93 @@ driver.quit();
351
353
```
352
354
353
355
Set the custom capability to `false` in order to match the Node B.
356
+
357
+
358
+
#### Specifying path from where downloaded files can be retrieved
359
+
360
+
At times a test may need to access files that were downloaded by it on the Node. To retrieve such files, following can be done.
361
+
362
+
##### Start the Hub
363
+
```
364
+
java -jar selenium-server-<version>.jar hub
365
+
```
366
+
367
+
##### Start the Node with downloads path specified
0 commit comments