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
+18-2Lines changed: 18 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,9 @@ Images included:
15
15
-__selenium/node-chrome__: Selenium node with Chrome installed, needs to be connected to a Selenium Hub
16
16
-__selenium/node-firefox__: Selenium node with Firefox installed, needs to be connected to a Selenium Hub
17
17
-__selenium/standalone-chrome__: Selenium standalone with Chrome installed
18
-
-__selenium/standalone-firefox__: Selenium standalone with Firefox
18
+
-__selenium/standalone-firefox__: Selenium standalone with Firefox installed
19
+
-__selenium/standalone-chrome-debug__: Selenium standalone with Chrome installed and runs a VNC server
20
+
-__selenium/standalone-firefox-debug__: Selenium standalone with Firefox installed and runs a VNC server
19
21
-__selenium/node-chrome-debug__: Selenium node with Chrome installed and runs a VNC server, needs to be connected to a Selenium Hub
20
22
-__selenium/node-firefox-debug__: Selenium node with Firefox installed and runs a VNC server, needs to be connected to a Selenium Hub
21
23
@@ -25,8 +27,14 @@ Images included:
25
27
26
28
```bash
27
29
$ docker run -d -p 4444:4444 selenium/standalone-chrome:2.45.0
30
+
# OR
31
+
$ docker run -d -p 4444:4444 selenium/standalone-firefox:2.45.0
28
32
```
29
33
34
+
Note: only one standalone image can run on port 4444 at a time.
35
+
36
+
To inspect visually what the browser is doing use the `standalone-chrome-debug` or `standalone-firefox-debug` images. [See debugging section for more...](#debugging)
37
+
30
38
### Selenium Grid Hub
31
39
32
40
```bash
@@ -84,13 +92,21 @@ $ FF=$(docker run --rm --name=fx \
84
92
85
93
## Debugging
86
94
87
-
In the event you wish to visually see what the browser is doing you will want to run the selenium/node-chrome-debug and selenium/node-firefox-debug images.
95
+
In the event you wish to visually see what the browser is doing you will want to run the `debug` variant of node or standalone images.
88
96
89
97
```bash
90
98
$ docker run -d -P --link selenium-hub:hub selenium/node-chrome-debug:2.45.0
91
99
$ docker run -d -P --link selenium-hub:hub selenium/node-firefox-debug:2.45.0
92
100
```
93
101
102
+
And for standalone:
103
+
104
+
```bash
105
+
$ docker run -d -p 4444:4444 selenium/standalone-chrome-debug:2.45.0
106
+
# OR
107
+
$ docker run -d -p 4444:4444 selenium/standalone-firefox-debug:2.45.0
108
+
```
109
+
94
110
You can acquire the port that the VNC server is exposed to by running:
0 commit comments