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.
$ 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.
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.
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.
- SmartUI Selenium SDK - A complete SDK to capture DOM assets for visual tests.
- LambdaTest Documentation - Official LambdaTest documentation for SmartUI and other integrations.
- Bulk capturing static URLs with SmartUI - Documentation for capturing satatic urls in bulk with SmartUI
- Bring your own screenshots - Documentation for capturing satatic urls in bulk
- Figma CLI - Documentation for uploading figma components to SmartUI
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.