The SmartUI CLI is used to create configs, take screenshots and upload to SmartUI Dashboard via the command line.
$ npm install -g @lambdatest/smartui-cli --force
$ smartui config:web-static urls.json
$ smartui config:create-web smartui-web.json
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="****-****-****-************"
$ smartui capture urls.json --config smartui-web.json