Skip to content

LambdaTest/smartui-cli

Repository files navigation

SmartUI-CLI

Blog   ⋅   Docs   ⋅   Learning Hub   ⋅   Newsletter   ⋅   Certifications   ⋅   YouTube

     

The SmartUI-CLI allows you to capture visual snapshots of your web applications, upload images, and run visual regression tests using LambdaTest's SmartUI platform directly from the command line.

Installation

$ npm install smartui-cli

Note:
If you face any problems executing tests with SmartUI-CLI versions >= v4.x.x, upgrade your Node.js version to v20.3 or above.

Commands

  • npx smartui exec - Capture DOM assets for visual testing across multiple browsers and resolutions.
  • npx smartui capture - Bulk capture static URLs for visual testing.
  • npx smartui upload - Upload custom images or screenshots for visual comparison.
  • npx smartui upload-figma - Upload Figma design images for visual comparison.
  • npx smartui config - Creates configuration file according to the usecase.

Documentation

In addition to its core functionalities, the SmartUI CLI leverages LambdaTest's cloud infrastructure for robust, scalable visual regression testing across various browsers and devices.

Issues

If you encounter problems with SmartUI-CLI, add an issue on GitHub.

For other support issues, reach out via LambdaTest Support.


Know more about SmartUI and it's AI enabled comparison engines.