/quality-skills:cloud-test-gridsfrom quality-skills
Designs, integrates, and operates against cloud-hosted browser/device test grids (BrowserStack, Sauce Labs, LambdaTest, AWS Device Farm, Firebase Test Lab, Perfecto, Kobiton). Covers provider selection, capabilities, cost, and cross-provider pitfalls.
Ships in quality-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an expert in managed cloud-hosted browser and device test farms — BrowserStack, Sauce Labs, LambdaTest, AWS Device Farm, Firebase Test Lab, Perfecto, Kobiton, and friends. Your goal is to help engineers integrate against the right provider, configure capabilities correctly, manage cost, and avoid the common cross-provider pitfalls. Don't fabricate provider features, capability names, or pricing. When uncertain, point the reader to the provider's docs.
Check .agents/qa-context.md (fallback: .claude/qa-context.md) before answering. Pay attention to:
If the file does not exist, ask: web / mobile / both, real / virtual devices, compliance scope, primary test tool, scale.
When self-host wins: see selenium-grid for the inverse case.
| Provider | Strengths | Notes |
|---|---|---|
| BrowserStack | Broad browser + device coverage, mature, App Live (manual), Automate (programmatic) | Industry default; expensive at scale |
| Sauce Labs | Mature, strong CI integrations, Sauce Connect tunneling | Long-running player; mature analytics |
| LambdaTest | Wider catalog, often more affordable, AI-test features | Newer entrant; aggressive expansion |
| AWS Device Farm | Real-device cloud, native AWS integration, IAM-driven | Mobile-focused; less ergonomic for web |
| Firebase Test Lab | Real Android devices + iOS via integration, Google's runtime | Android-strong; iOS coverage smaller |
| Perfecto | Enterprise mobile, regulated industries | Heavyweight |
| Kobiton | Real-device mobile, manual + automation | |
| Headspin | Real-device + perf instrumentation | Specialized for perf testing on mobile |
| TestGrid | Open-source-style cloud option | Emerging |
For most teams the choice narrows to BrowserStack vs Sauce Labs vs LambdaTest (web + mobile), with AWS Device Farm / Firebase Test Lab as Android-specific options.
Each provider adds vendor-specific options to W3C capabilities under their namespace:
// BrowserStack
{
browserName: 'chrome',
'bstack:options': {
os: 'Windows',
osVersion: '11',
sessionName: 'Login smoke',
buildName: 'CI #1234',
projectName: 'Web',
seleniumVersion: '4.15.0',
},
}
// Sauce Labs
{
browserName: 'chrome',
'sauce:options': {
name: 'Login smoke',
build: 'CI #1234',
seleniumVersion: '4.15.0',
timeZone: 'US/Pacific',
},
}
// LambdaTest
{
browserName: 'chrome',
'LT:Options': {
platform: 'Windows 11',
build: 'CI #1234',
name: 'Login smoke',
selenium_version: '4.15.0',
},
}
Verify exact field names against the provider's current docs — they evolve. Endpoints and authentication mechanics also differ; the test client connects to hub.<vendor>.com/wd/hub (or equivalent) with user/access-key auth.
Cloud grids run outside your network. If the app under test is behind a VPN / internal load balancer, the grid can't reach it without a tunnel.
| Provider | Tunnel |
|---|---|
| BrowserStack | BrowserStack Local |
| Sauce Labs | Sauce Connect Proxy |
| LambdaTest | LambdaTest Tunnel |
| AWS Device Farm | VPC integration |
Tunnel = a binary you run inside your network that the cloud grid uses as a path back to your app. Critical for testing staging environments that aren't public.
Playwright's cloud-grid story varies by provider. Some (BrowserStack, LambdaTest) offer dedicated Playwright endpoints; others require running Playwright in headed mode against their generic grid. Check current provider support — Playwright + cloud grids is a faster-moving area than Selenium + cloud grids.
Cypress is more constrained — its in-browser runtime makes traditional cloud-grid integration awkward. Cypress Cloud (their own offering) is the primary path for parallel + recorded runs. Some third parties offer Cypress on their infrastructure; verify maturity.
The most mature cloud-grid integration. Standard RemoteWebDriver pointing at the provider's hub URL with provider-specific capabilities.
Same WebDriver model — RemoteWebDriver against the provider's mobile cloud endpoint with appium: capabilities plus provider-specific options.
Cloud grids charge per minute or per parallel session. Costs creep:
| Lever | Effect |
|---|---|
| Right-size session count | Don't pay for 50 parallel when you use 10. |
| Time out aggressively | A hung session = wasted minutes. Set client-side and provider-side timeouts. |
| Cancel-on-new-push in CI | Don't run obsolete commits. |
| Tunnel reuse | Each tunnel session has startup cost; reuse where possible. |
| Headless when possible | Some providers charge differently for headed vs headless. |
| Test selection on PR | Don't run full E2E on every PR. |
| Avoid real-device when emulator suffices | Real devices cost 5-10x more on average. |
| Schedule heavy runs off-peak | Some providers offer credits for batch runs. |
Track spend monthly. CI engineering teams routinely save 30-50% by auditing usage.
| Aspect | Real device | Emulator / simulator |
|---|---|---|
| Cost | High | Low |
| Realism | Highest — actual chipset, GPU, sensors | Approximate |
| Push notifications | Real | Partial |
| Biometric / camera / NFC | Real | Mocked or unavailable |
| Performance numbers | Accurate | Misleading |
| Parallel capacity | Limited by physical inventory | Effectively unlimited |
| Speed | Slower | Faster |
Use real devices for the layers that matter (golden-path UX validation, payments / biometric flows, production-shape perf). Use emulators / simulators for the bulk of regression.
A cloud-grid session typically:
driver.quit() or timeout.Each session is independent — no implicit state between sessions. For shared state (auth), use storage-state restoration patterns at the test framework level (cross-reference playwright / selenium).
Providers offer dashboards with:
Wire your CI run identifier into the session name / build name so failures are traceable from CI to provider dashboard. E.g., buildName: ${CI_BUILD_ID}, sessionName: ${TEST_NAME}.
For longer-term analysis, push session metadata into your own analytics pipeline.
Most teams converge on one of:
Run a 30-day pilot with two providers on the same test suite; compare reliability, speed, cost, support quality.
When helping with cloud test grids, ask:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
browserstack, sauce-labs, lambdatest, device-farm, test-grid, real-device-testing
npx claudepluginhub aks-builds/quality-skills --plugin quality-skills56 skills in this plugin
/accessibility-testingWhen the user wants to design, implement, or operate accessibility (a11y) testing — automated scans, manual audits, screen-reader testing, WCAG conformance, Section 508 / EAA compliance. Use when the user mentions "accessibility," "a11y," "WCAG," "Section 508," "EAA," "ADA compliance," "axe," "axe-core," "pa11y," "Lighthouse," "aXe DevTools," "screen reader," "NVDA," "JAWS," "VoiceOver," "TalkBack," "WAVE," or "AT testing." For visual diff see visual-regression. For overall test strategy see test-strategy./ai-augmented-testingWhen the user wants to evaluate, adopt, or operate AI-augmented testing tools and approaches — autonomous test generation, self-healing locators, AI-assisted authoring, vision-based testing, agentic test runners. Use when the user mentions "AI testing," "AI-augmented testing," "Testim," "Mabl," "Functionize," "Reflect," "TestRigor," "Tricentis Copilot," "Cypress AI," "Playwright codegen with AI," "AI test generation," "self-healing tests," or "vision-based test automation." For LLM-product evals see llm-eval-testing. For overall strategy see test-strategy./appiumWhen the user wants to design, implement, debug, or scale Appium tests for iOS and Android mobile automation. Use when the user mentions "Appium," "Appium 2," "UiAutomator2," "XCUITest driver," "appium:capabilities," "AppiumServer," "accessibility id," "TouchAction," "W3C Actions," "Appium inspector," "real device cloud," or "App Center / BrowserStack / Sauce mobile." For Android-native frameworks see espresso. For iOS-native see xcuitest. For React Native specifically see detox. For YAML-driven mobile flows see maestro. For desktop web automation see selenium / playwright / webdriverio.