The purpose of the application is to start the other console application on hidden desktop.
Options are specified in one of the following forms:
--<option name> <option value>
--<option name>=<option value>
Available options:
--driver <driver path>
- specifies driver executable name. Tool till try to locate with PATH, so you could omit the path. Default ischromedriver.exe
--desktop <desktop name>
- specifies the name of hidden desktop. In case it's not specified the random name will be used.--desktop=false
- instructs not to create hidden desktop. Driver will run on user desktop.
Simply use --
in command line to tell headless
that subsequent parameters should be applied to driver executable.
headless.exe c:\chromedriver.exe
headless.exe --app=c:\chromedriver.exe
headless.exe --app c:\chromedriver.exe
headless.exe --app c:\chromedriver.exe --desktop headless-mine
set HEADLESS_APP=c:\chromedriver.exe && headless.exe
headless.exe c:\chromedriver.exe --desktop=false
` example of passing parameters to callee application`
headless.exe c:\chromedriver.exe -- --port=9126