encyclopegia.org

Capybara (software)

Capybara is a web-based test automation software that simulates scenarios for user stories and automates web application testing for behavior-driven software development.[src] It is written in the Ruby programming language.[src] Capybara can mimic actions of real users interacting with web-based applications.[src] It can receive pages, parse the HTML and submit forms.[src]

Capybara is a web-based test automation software that simulates scenarios for user stories and automates web application testing for behavior-driven software development.[src] It is written in the Ruby programming language.[src] Capybara can mimic actions of real users interacting with web-based applications.[src] It can receive pages, parse the HTML and submit forms.[src] describe 'UserRegistration' do it 'allows a user to register' do visit new_user_registration_path fill_in 'First name', with: 'New' fill_in 'Last name', with: 'User' fill_in 'Email', with: 'newuser@example.com' fill_in 'Password', with: 'userpassword' fill_in 'Password Confirmation', with: 'userpassword' click_button 'Register' page.should have_content 'Welcome' end end An example of a Capybara feature used with Cucumber: When /^I want to add/ do fill_in 'a', with: 100 fill_in 'b', with: 100 click_button 'Add' end ===Capybara with RSpec=== Some minute integration is required in order to use Capybara with RSpec describe 'go to home page' do it 'opens the home page' do visit (get_homepage) expect(page).to have_content('Welcome') end end ==See also== Acceptance testing Acceptance test-driven development Behavior-driven development Test automation HtmlUnit List of web testing tools Regression testing Given-When-Then[src]

9 sentences · 9 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Capybara (software)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/capybara-software. Accessed 25 November 2026.

Chicago

"Capybara (software)." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/capybara-software.

APA

encyclopegia.org. (2025). Capybara (software). Retrieved November 25, 2026, from https://encyclopegia.org/wiki/capybara-software

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Ubuntu Software Center

stub · references available

customs software

stub · references available

access software

stub · references available

Free Software Song

stub · references available

software framework

stub · references available

route planning software

stub · references available

data loss prevention software

stub · references available

free and open-source software

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1325395427 · 0.5 · snapshot enwiki-001325395427

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.