LambdaTest / smartui-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:TypeScript 77.6%Language:JavaScript 22.4%