This is the browser demonstration page
Testing Marionette is best done through the Firefox browser. If you do not have a copy of Firefox, download it here.
Go to:
Firefox > Preferences > General > Network Proxy
Although the code can work through the proxy with the above data, Firefox does not yet have its DNS fully going through the proxy. To fix this:
For this demo, please we will use the v0.1 Docker image. You'll need to have Docker installed. You can find instructions for specific operating system here: https://docs.docker.com/install
Once docker is installed, then download the appropriate docker file from the v0.1 release of Marionette. The file can be found here:
https://github.com/redjack/marionette/releases/tag/v0.1
To install the docker file in docker:
$ gunzip redjack-marionette-0.1.gz
$ docker load -i redjack-marionette-0.1
Next, run the Docker image and use the appropriate port mappings for the
Marionette format you're using. http_simple_blocking uses
port 8081:
$ docker run -p 8081:8081 redjack/marionette server -format http_simple_blocking
$ docker run -p 8079:8079 redjack/marionette client -bind 0.0.0.0:8079 -format http_simple_blocking
If you're running Docker for Mac then you'll also need to add a -server argument:
$ docker run -p 8079:8079 redjack/marionette client -bind 0.0.0.0:8079 -server docker.for.mac.host.internal -format http_simple_blocking
Start wireshark on the loopback network and watch the packets.
(Note, if wireshark is not displaying the packets as HTTP, go to:
WireShark > Preferences > Protocols > HTTP
and add port 8081 to the port list.
Look at your favorite webpage(s). The system is fairly reliable now, but in the event that the connection drops, then: