LaunchKit · 2026

Setup & Installation

npx skills add https://github.com/LambdaTest/agent-skills --skill capybara-skill
or paste the link and ask your coding assistant to install it
https://github.com/LambdaTest/agent-skills/tree/main/capybara-skill
View on GitHub

What This Skill Does

Generates Capybara end-to-end tests in Ruby using RSpec. Covers the full Capybara DSL for navigating pages, filling in forms, clicking buttons, and asserting page content. Also includes page object patterns with SitePrism and optional cloud browser execution through LambdaTest.

Capybara's DSL has a lot of methods and matcher combinations to remember, and this skill produces ready-to-run feature specs without digging through docs each time.

When to use it

  • Writing login and signup feature specs for a Rails app
  • Scaffolding page object classes with SitePrism for large test suites
  • Testing form submissions with file uploads and select dropdowns
  • Running Capybara specs against remote browsers on LambdaTest
  • Adding async content assertions with have_content and have_selector matchers