lambdatest-selenium-driver
Python Selenium SDK for testing with Smart UI
What it is and what it does
This package integrates Selenium-based tests with LambdaTest's SmartUI visual testing platform. It provides a single primary function, smartui_snapshot(), that captures screenshots from a running Selenium WebDriver instance and sends them to SmartUI for visual regression analysis. The package wraps Selenium and lambdatest-sdk-utils to handle the communication with LambdaTest's cloud infrastructure.
Typical usage involves writing a standard Selenium test, calling smartui_snapshot() at points where you want visual validation, then running the test through the SmartUI CLI wrapper. The CLI orchestrates authentication, build creation, and result aggregation. This is useful for teams running cross-browser visual tests on LambdaTest's cloud grid, where you want to detect unintended visual changes across test runs without manually comparing screenshots.
Use it for:
- Capture visual baselines during initial test runs, then compare subsequent runs to detect unintended UI changes.
- Validate responsive design across different browser and device combinations in a single test suite.
- Integrate visual regression checks into CI/CD pipelines that already use LambdaTest for Selenium test execution.
- Document expected UI state at specific test milestones for stakeholder review and approval.
- Detect visual regressions introduced by CSS or layout changes without rewriting assertion logic.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Captures visual snapshots during Selenium tests and uploads them to LambdaTest's SmartUI service for visual regression testing and comparison.
Yes, if you are already using LambdaTest for Selenium testing and need visual regression capabilities. The package is actively maintained, has no known vulnerabilities, and integrates cleanly with standard Selenium workflows. It requires external setup (SmartUI CLI and a LambdaTest account), so it is not suitable as a standalone visual testing tool, but for teams already invested in LambdaTest's infrastructure it adds significant value with minimal friction.
Install
lambdatest-selenium-driver on PyPI
pip
pip install lambdatest-selenium-driveruv
uv add lambdatest-selenium-driverpoetry
poetry add lambdatest-selenium-driverInstalling lambdatest-selenium-driver
Before you install
Low friction installation with only two runtime dependencies (selenium and lambdatest-sdk-utils). Package is actively maintained with recent releases and no known vulnerabilities.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal restrictions.
Quickstart
pip install lambdatest-selenium-driver
from lambdatest_selenium_driver import smartui_snapshot
from selenium import webdriver
driver = webdriver.Chrome()
driver.get('https://example.com')
smartui_snapshot(driver, "snapshot_name")
driver.close()
Requires SmartUI CLI installed globally (npm install -g @lambdatest/smartui-cli) and a PROJECT_TOKEN environment variable set to authenticate with LambdaTest's SmartUI service.
Verify before relying
- Whether the package works with Selenium 4.x and later versions, or if there are known compatibility constraints.
- Performance impact of snapshot capture on test execution time.
- Whether SmartUI CLI must be running as a separate process or if it integrates directly with the Python SDK.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — selenium, lambdatest-sdk-utils |
| Maintenance | actively maintained — 248 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 625,624/month — #5,694 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: lambdatest_selenium_driver-1.0.9-py3-none-any.whl
Keywords: lambdatest, python, selenium, sdk
Tags
More Testing packages
Pluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
virtualenvvirtualenv creates isolated Python environments…
permissive · top 100 on PyPI
coverageCoverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
pytest-asynciopytest-asyncio is a pytest plugin that enables…
permissive · top 1,000 on PyPI
pytest-json-ctrfA pytest plugin that generates test reports in…
permissive · top 1,000 on PyPI
percy-seleniumIntegrates Percy visual testing into Python…
permissive · top 15,000 on PyPI
percy-appium-appIntegrates Percy visual testing into Python…
permissive · top 15,000 on PyPI
lambdatest-sdk-utilsProvides Python SDK utilities for integrating…
permissive · top 15,000 on PyPI
Selenium-ScreenshotCaptures full-page or element-level screenshots…
permissive · top 15,000 on PyPI
eyes-seleniumVisual testing SDK for Selenium and Appium…
unclear · top 15,000 on PyPI
core-universalProvides the Applitools Eyes Core SDK Server…
unclear · top 15,000 on PyPI
pytest-playwright-visualA pytest plugin that captures and compares…
permissive · top 15,000 on PyPI
pytest-textual-snapshotA pytest plugin that captures SVG screenshots…
permissive · top 15,000 on PyPI
seleniumSelenium provides Python bindings to automate…
permissive · top 1,000 on PyPI
testmuai-playwright-bindingsRuns exported browser automation tests locally…
permissive · top 15,000 on PyPI