skillfed

lambdatest-selenium-driver

Python Selenium SDK for testing with Smart UI

lambdatest-selenium-driver v1.0.9 625.6K downloads/30d#5,694 on PyPI0
Permissive license MIT Active released

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-driver

uv

uv add lambdatest-selenium-driver

poetry

poetry add lambdatest-selenium-driver

Installing 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

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3

Tags

visual regression testing seleniumscreenshot comparison automationsmartui python sdkvisual testing lambdatestselenium snapshot capture
visual-regressionlambdatest-integrationselenium-extension

More Testing packages

pluggy

Pluggy provides a plugin system that lets you…

permissive · top 100 on PyPI

pytest

pytest is a testing framework that lets you…

permissive · top 100 on PyPI

virtualenv

virtualenv creates isolated Python environments…

permissive · top 100 on PyPI

coverage

Coverage.py measures which lines of Python code…

permissive · top 1,000 on PyPI

pytest-asyncio

pytest-asyncio is a pytest plugin that enables…

permissive · top 1,000 on PyPI

pytest-json-ctrf

A pytest plugin that generates test reports in…

permissive · top 1,000 on PyPI

percy-selenium

Integrates Percy visual testing into Python…

permissive · top 15,000 on PyPI

percy-appium-app

Integrates Percy visual testing into Python…

permissive · top 15,000 on PyPI

lambdatest-sdk-utils

Provides Python SDK utilities for integrating…

permissive · top 15,000 on PyPI

Selenium-Screenshot

Captures full-page or element-level screenshots…

permissive · top 15,000 on PyPI

eyes-selenium

Visual testing SDK for Selenium and Appium…

unclear · top 15,000 on PyPI

core-universal

Provides the Applitools Eyes Core SDK Server…

unclear · top 15,000 on PyPI

pytest-playwright-visual

A pytest plugin that captures and compares…

permissive · top 15,000 on PyPI

pytest-textual-snapshot

A pytest plugin that captures SVG screenshots…

permissive · top 15,000 on PyPI

selenium

Selenium provides Python bindings to automate…

permissive · top 1,000 on PyPI

testmuai-playwright-bindings

Runs exported browser automation tests locally…

permissive · top 15,000 on PyPI