2.1.1 • Published 5 years ago
alex-cli v2.1.1
ALEX CLI
A command line interface for running tests and learning experiments with ALEX (v2.0.*).
NPM package: https://www.npmjs.com/package/alex-cli
Requirements
- A running instance of ALEX
- Node.js & NPM
Installation
Via NPM
npm install -g alex-cli
alex-cli -h From source
git clone https://github.com/LearnLib/alex.git
cd ./alex/cli
npm ci
node alex-cli.js -h Usage
Execute node alex-cli.js -h to see a complete list of parameters and their descriptions.
Fine usage examples here.
Configuration
Testing
{
"driverConfig": {
"width": 1980,
"height": 1080,
"implicitlyWait": 0,
"pageLoadTimeout": 10,
"scriptTimeout": 10,
"name": "chrome",
"headless": true
}
}| argument | description |
|---|---|
| width | The width of the browser |
| height | The height of the browser |
| implicitlyWait | Selenium implicit timeout value |
| pageLoadTimeout | Selenium page load timeout value |
| scriptTimeout | Selenium script timeout value |
| name | The name of the browser, 'firefox', 'chrome', 'htmlUnit', 'ie', 'safari', 'edge' |
| headless | If the browser is run headless. Only for Firefox and Chrome |