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: NodeChromeDebug/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ If you are running Boot2Docker on Mac then you already have a [VNC client](http:
37
37
When you are prompted for the password it is __secret__. If you wish to change this then you should either change it in the `/NodeBase/Dockerfile` and build the images yourself, or you can define a docker image that derives from the posted ones which reconfigures it:
38
38
39
39
```dockerfile
40
-
FROM selenium/node-chrome-debug:3.141.59-selenium
40
+
FROM selenium/node-chrome-debug:3.141.59-titanium
41
41
42
42
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
Copy file name to clipboardExpand all lines: NodeDebug/README.template.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ If you are running Boot2Docker on Mac then you already have a [VNC client](http:
37
37
When you are prompted for the password it is __secret__. If you wish to change this then you should either change it in the `/NodeBase/Dockerfile` and build the images yourself, or you can define a docker image that derives from the posted ones which reconfigures it:
38
38
39
39
```dockerfile
40
-
FROM selenium/##BASE##-debug:3.141.59-selenium
40
+
FROM selenium/##BASE##-debug:3.141.59-titanium
41
41
42
42
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
Copy file name to clipboardExpand all lines: NodeFirefoxDebug/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ If you are running Boot2Docker on Mac then you already have a [VNC client](http:
37
37
When you are prompted for the password it is __secret__. If you wish to change this then you should either change it in the `/NodeBase/Dockerfile` and build the images yourself, or you can define a docker image that derives from the posted ones which reconfigures it:
38
38
39
39
```dockerfile
40
-
FROM selenium/node-firefox-debug:3.141.59-selenium
40
+
FROM selenium/node-firefox-debug:3.141.59-titanium
41
41
42
42
RUN x11vnc -storepasswd <your-password-here> /home/seluser/.vnc/passwd
By default, `CLASSPATH` for Java is `/opt/selenium/*:.` but you can overwrite it with yours using `JAVA_CLASSPATH`. This is useful when you want to use your own JAR files. Note that `/opt/selenium/*` always needs to be included because the Selenium JAR file is in the directory.
_Note:_ `-v /e2e/uploads:/e2e/uploads` _is optional in case you are testing browser uploads on your web app you will probably need to share a directory for this._
@@ -332,11 +332,11 @@ _Note:_ `-v /e2e/uploads:/e2e/uploads` _is optional in case you are testing brow
332
332
This command line is the same as for Chrome. Remember that the Selenium running container is able to launch either Chrome or Firefox, the idea around having 2 separate containers, one for each browser is for convenience plus avoiding certain `:focus` issues your web app may encounter during end-to-end test automation.
333
333
334
334
``` bash
335
-
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:3.141.59-selenium
335
+
$ docker run -d --name selenium-hub -p 4444:4444 selenium/hub:3.141.59-titanium
_Note: Since a Docker container is not meant to preserve state and spawning a new one takes less than 3 seconds you will likely want to remove containers after each end-to-end test with_ `--rm` _command. You need to think of your Docker containers as single processes, not as running virtual machines, in case you are familiar with [Vagrant](https://www.vagrantup.com/)._
**Note:** The `\` line delimiter won't work on Windows based terminals, try either `^` or a backtick.
395
395
@@ -442,27 +442,27 @@ Like this, the script will poll until the Grid is ready, and then your tests wil
442
442
443
443
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. A VNC server will run on port 5900. You are free to map that to any free external port that you wish. Keep in mind that you will only be able to run one node per port so if you wish to include a second node, or more, you will have to use different ports, the 5900 as the internal port will have to remain the same though as thats the VNC service on the node. The second example below shows how to run multiple nodes and with different VNC ports open:
You can acquire the port that the VNC server is exposed to by running:
@@ -481,8 +481,8 @@ If you are running [Boot2Docker](https://docs.docker.com/installation/mac/) on O
481
481
482
482
When you are prompted for the password it is `secret`. If you wish to change this then you should either change it in the `/NodeBase/Dockerfile` and build the images yourself, or you can define a Docker image that derives from the posted ones which reconfigures it:
0 commit comments