Skip to content

Without Docker (drivers mode)

Browsers usually run in containers, but sometimes that is impossible — the classic case is Internet Explorer on Windows, which cannot be containerized. In drivers mode WebSummoner starts browser driver binaries as regular processes and acts as a lightweight Selenium server replacement.

  1. Download the IEDriverServer archive and unpack it (to C:\ in this example).

  2. Download the WebSummoner binary.

  3. Create browsers.json — note that image is a command array, and Windows backslashes must be escaped as \\:

    {
    "internet explorer": {
    "default": "11",
    "versions": {
    "11": {
    "image": ["C:\\IEDriverServer.exe", "--log-level=DEBUG"]
    }
    }
    }
    }
  4. Start WebSummoner without Docker:

    Terminal window
    ./websummoner_windows_amd64.exe -conf ./browsers.json -disable-docker
  5. Run tests against http://localhost:4444/wd/hub with:

    browserName = internet explorer
    version = 11

Download the ChromeDriver binary and point the image array at it:

{
"chrome": {
"default": "152",
"versions": {
"152": {
"image": ["/usr/bin/chromedriver", "--port=4444"]
}
}
}
}

By default driver process output is discarded. Add -capture-driver-logs to append every session’s driver log to the main WebSummoner log.