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.
Example: Internet Explorer on Windows
Section titled “Example: Internet Explorer on Windows”-
Download the IEDriverServer archive and unpack it (to
C:\in this example). -
Download the WebSummoner binary.
-
Create
browsers.json— note thatimageis a command array, and Windows backslashes must be escaped as\\:{"internet explorer": {"default": "11","versions": {"11": {"image": ["C:\\IEDriverServer.exe", "--log-level=DEBUG"]}}}} -
Start WebSummoner without Docker:
Terminal window ./websummoner_windows_amd64.exe -conf ./browsers.json -disable-docker -
Run tests against
http://localhost:4444/wd/hubwith:browserName = internet explorerversion = 11
Other browsers
Section titled “Other browsers”Download the ChromeDriver binary and
point the image array at it:
{ "chrome": { "default": "152", "versions": { "152": { "image": ["/usr/bin/chromedriver", "--port=4444"] } } }}Driver logs
Section titled “Driver logs”By default driver process output is discarded. Add -capture-driver-logs to
append every session’s driver log to the main WebSummoner log.