Skip to content

Files

Latest commit

 

History

History
 
 

cli

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

SmartUI CLI

SmartUI-Testing

The SmartUI CLI is used to create configs, take screenshots and upload to SmartUI Dashboard via the command line.

Installation

$ npm install -g @lambdatest/smartui-cli --force

Start using CLI

Create URL Json file

$ smartui config:web-static urls.json

Create custom Web Config file

$ smartui config:create-web smartui-web.json

Configure your Project Token

Create a new web project from SmartUI Dashboard and copy the project token and set on CLI via command

For Linux/macOS:

 export PROJECT_TOKEN="****-****-****-************"

For Windows:

 set PROJECT_TOKEN="****-****-****-************"

Capture Screenshots

$ smartui capture urls.json --config smartui-web.json