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: README.md
+3-26Lines changed: 3 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -43,19 +43,16 @@ _Note: Only one standalone image can run on port_ `4444` _at a time._
43
43
44
44
To inspect visually what the browser is doing use the `standalone-chrome-debug` or `standalone-firefox-debug` images. See [Debugging](#debugging) section for details.
45
45
46
-
### Selenium Grid Hub
46
+
### Selenium Grid Hub and Nodes
47
47
48
48
```bash
49
49
$ docker run -d -p 4444:4444 --name selenium-hub selenium/hub:3.0.1-fermium
50
-
```
51
-
52
-
### Chrome and Firefox Grid Nodes
53
-
54
-
```bash
55
50
$ docker run -d --link selenium-hub:hub selenium/node-chrome:3.0.1-fermium
56
51
$ docker run -d --link selenium-hub:hub selenium/node-firefox:3.0.1-fermium
57
52
```
58
53
54
+
## Configuring the containers
55
+
59
56
### JAVA_OPTS Java Environment Options
60
57
61
58
You can pass `JAVA_OPTS` environment variable to java process.
Ensure you have the `ubuntu:16.04` base image downloaded, this step is _optional_ since Docker takes care of downloading the parent base image automatically.
78
-
79
-
```bash
80
-
$ docker pull ubuntu:16.04
81
-
```
82
-
83
74
Clone the repo and from the project directory root you can build everything by running:
84
75
85
76
```bash
@@ -171,20 +162,6 @@ When you are prompted for the password it is `secret`. If you wish to change thi
171
162
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
172
163
```
173
164
174
-
##### Look around
175
-
176
-
```bash
177
-
$ docker images
178
-
#=>
179
-
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
180
-
selenium/node-firefox 3.0.1-fermium 69f762d0d79e 29 minutes ago 552.1 MB
181
-
selenium/node-chrome 3.0.1-fermium 9dd73160660b 30 minutes ago 723.6 MB
182
-
selenium/node-base 3.0.1-fermium 1b7a0b7024b1 32 minutes ago 426.1 MB
183
-
selenium/hub 3.0.1-fermium 2570bbb98229 33 minutes ago 394.4 MB
184
-
selenium/base 3.0.1-fermium 33478d455dab 33 minutes ago 362.6 MB
185
-
ubuntu 16.04 0b7735b9290f 6 days ago 123.7 MB
186
-
```
187
-
188
165
### Troubleshooting
189
166
190
167
All output is sent to stdout so it can be inspected by running:
0 commit comments