Skip to content

Commit d81ecc9

Browse files
committed
Removing section that does not apply anymore [skip ci]
1 parent 305d1cf commit d81ecc9

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

README.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -170,28 +170,6 @@ docker run -d -e SCREEN_WIDTH=1366 -e SCREEN_HEIGHT=768 -e SCREEN_DEPTH=24 -e SC
170170
Bear in mind that in non-debug images, the maximize window command won't work. You can use the resize window command
171171
instead. Also, some browser drivers allow specifying window size in capabilities.
172172

173-
### Increasing the number of browser instances/slots
174-
175-
By default, each image will only allow one slot per container, which is what we recommend as a best practice since all
176-
container resources and variables will be used for that browser, and this helps to have more stable tests.
177-
178-
Nevertheless, if you would like to have more slots per node, this can be configured via environment variables with the
179-
environment variable `NODE_MAX_INSTANCES`. For example, a Firefox node with 5 slots:
180-
181-
``` bash
182-
# Assuming a hub was already started
183-
$ docker run -d -e HUB_HOST=<hub_ip|hub_name> -e NODE_MAX_INSTANCES=5 selenium/node-firefox:4.0.0-alpha-6-20200730
184-
```
185-
186-
Don't forget to combine this with the environment variable `NODE_MAX_SESSION`, which sets the maximum amount of tests
187-
that can run at the same time in a node. Following the previous example, if `NODE_MAX_INSTANCES=5`, then `NODE_MAX_SESSION`
188-
should also be at least 5. Full example:
189-
190-
``` bash
191-
# Assuming a hub was already started
192-
$ docker run -d -e HUB_HOST=<hub_ip|hub_name> -e NODE_MAX_INSTANCES=5 -e NODE_MAX_SESSION=5 selenium/node-firefox:4.0.0-alpha-6-20200730
193-
```
194-
195173
### Running in Headless mode
196174

197175
[Firefox](https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Headless_mode), [Chrome](https://developers.google.com/web/updates/2017/04/headless-chrome) and [Opera](https://forums.opera.com/topic/20375/opera-cli-switches-and-headless) support running tests in headless mode.

0 commit comments

Comments
 (0)