CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/lambdatest-automate

Author and run E2E tests on LambdaTest - cloud grid for cross-browser + real-device testing with W3C WebDriver, Cypress, Playwright, and Appium support. Covers LT_USERNAME + LT_ACCESS_KEY auth, hub URL hub.lambdatest.com/wd/hub, W3C capabilities + LT:Options dict (build, name, project, smartUI, network, console, video, tunnel), LambdaTest Tunnel for internal apps. Use for cross-browser regression with LambdaTest as the cloud grid; complements BrowserStack + Sauce Labs.

80

Quality

100%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Overview
Quality
Evals
Security
Files

ci-and-capabilities.mdreferences/

LambdaTest Automate CI, full capabilities, and SmartUI

Deep reference for lambdatest-automate SKILL.md. Consult when wiring LambdaTest into CI, tuning the full LT:Options capability set, wiring SmartUI visual regression, or pulling session artifacts via REST.

Full LT:Options table

LT:Options carries LambdaTest-specific settings:

OptionPurpose
user / accessKeyCredentials (alternative to env vars)
buildCI build / PR identifier
nameSession label
projectGroup sessions by project (dashboard)
selenium_versionPin Selenium version
w3cEnable W3C mode (default true)
consoleConsole-log level: "errors" / "warnings" / "info" / "verbose"
networkCapture HAR file
videoSession recording
visualPer-step screenshots
tunnel / tunnelNameLambdaTest Tunnel for internal apps
smartUI.projectLink to SmartUI visual-regression project

SmartUI integration

LambdaTest SmartUI handles visual regression alongside the functional test:

driver.execute_script("smartui.takeScreenshot=login-page")

Smart screenshots compare against a baseline; differences flagged in the SmartUI dashboard. See qa-visual-regression for visual-regression discipline.

Parsing results

LambdaTest session reports:

  • Session video (video: true)
  • Network HAR (network: true)
  • Browser console logs (console: "verbose")
  • Per-step screenshots (visual: true)
  • SmartUI diffs (if SmartUI configured)

REST API:

curl -u "$LT_USERNAME:$LT_ACCESS_KEY" \
  "https://api.lambdatest.com/automation/api/v1/sessions/<session-id>"

CI integration

on: pull_request
jobs:
  lambdatest:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        browser:
          - { name: Chrome, version: latest, platform: "Windows 11" }
          - { name: Firefox, version: latest, platform: "Windows 11" }
          - { name: Safari, version: "17", platform: "macOS Sonoma" }
    steps:
      - uses: actions/checkout@v6
      - name: Run on LambdaTest
        env:
          LT_USERNAME: ${{ secrets.LT_USERNAME }}
          LT_ACCESS_KEY: ${{ secrets.LT_ACCESS_KEY }}
          LT_BROWSER: ${{ matrix.browser.name }}
          LT_VERSION: ${{ matrix.browser.version }}
          LT_PLATFORM: ${{ matrix.browser.platform }}
          BUILD_TAG: pr-${{ github.event.pull_request.number }}
        run: pytest tests/e2e/ --lambdatest

Match the matrix breadth to a tiered plan - see browser-matrix-strategy-reference for tiering guidance.

SKILL.md

tile.json