OlegZee / headless

Currently is simply a copycap of kybu/headless-selenium-for-win

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Headless

The purpose of the application is to start the other console application on hidden desktop.

Running application

Supported options

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 is chromedriver.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.

Passing parameters down to the driver

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

About

Currently is simply a copycap of kybu/headless-selenium-for-win


Languages

Language:C# 99.3%Language:Batchfile 0.7%