Capybara automation testing framework index.

Test More In Less Time

Run Automation Testing In Parallel On The LambdaTest Cloud

Start for free

Description

Capybara helps you test web applications by simulating how a real user would interact with your app. It is agnostic about the driver running your tests and comes with Rack::Test and Selenium support built in.

Support and updates

  • Capybara has 9612 stars, 1413 forks.
  • It has 0 major releases in the past 6 months.
  • It has 4 commits and there are 20 open pull requests.
  • It has 21 open issues and 1496 have been closed.

Code statistics

  • Capybara has 41 packages.
  • Capybara has 667 methods.

Blogs

Check out the latest blogs from LambdaTest on this topic:

How To Choose The Right Mobile App Testing Tools

Did you know that according to Statista, the number of smartphone users will reach 18.22 billion by 2025? Let’s face it, digital transformation is skyrocketing and will continue to do so. This swamps the mobile app development market with various options and gives rise to the need for the best mobile app testing tools

June ‘21 Updates: Live With Cypress Testing, LT Browser Made Free Forever, YouTrack Integration & More!

Howdy testers! June has ended, and it’s time to give you a refresher on everything that happened at LambdaTest over the last month. We are thrilled to share that we are live with Cypress testing and that our very own LT Browser is free for all LambdaTest users. That’s not all, folks! We have also added a whole new range of browsers, devices & features to make testing more effortless than ever.

Putting Together a Testing Team

As part of one of my consulting efforts, I worked with a mid-sized company that was looking to move toward a more agile manner of developing software. As with any shift in work style, there is some bewilderment and, for some, considerable anxiety. People are being challenged to leave their comfort zones and embrace a continuously changing, dynamic working environment. And, dare I say it, testing may be the most ‘disturbed’ of the software roles in agile development.

Feeding your QA Career – Developing Instinctive & Practical Skills

The QA testing profession requires both educational and long-term or experience-based learning. One can learn the basics from certification courses and exams, boot camp courses, and college-level courses where available. However, developing instinctive and practical skills works best when built with work experience.

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

License

Capybara is lincensed under the MIT License

LambdaTest Community Discussions

Test case code snippets

API Testing - Check time zone representation

Description:

Verify that the API response contains the correct resource representation based on the specified time zone.

API Testing - Check custom header response

Description:

Verify that the API returns a response with a custom HTTP header when a specific request header is sent.

API Testing - Verify payload size

Description:

Verify that the API response payload size is within acceptable limits.

Shopify webpage testing - Verify that the checkout process is secure

Description:

This test case ensures that the checkout process is secure and that sensitive customer information is properly encrypted.

Downloads

Capybara can be downloaded from it’s GitHub repository - https://github.com/teamcapybara/capybara

Other similar frameworks

Unobtainium_ruby

Obtain the unobtainable: test code covering multiple platforms

Selenium

Selenium is one of the most renowned open-source test automation frameworks. It allows test automation of web-apps across different browsers & operating systems.

Gherkin-ruby

Gherkin is a parser and compiler for the Gherkin language. Gherkin Ruby can be used either through its command line interface (CLI) or as a library.

Test_xml_ruby

Small library to test your xml with Test::Unit or RSpec

Spork_ruby

A DRb server for testing frameworks (RSpec / Cucumber currently) that forks before each run to ensure a clean testing state.

Frameworks to try

Gauge

Gauge is a light weight cross-platform test automation tool. It provides the ability to author test cases in the business language.

AspectMock

The most powerful and flexible mocking framework for PHPUnit / Codeception.

Balin

Balin is a browser automation library for Kotlin. It's basically a Selenium-WebDriver wrapper inspired by Geb which uses power of the Selenium-WebDriver API.

Phake

PHP Mocking Framework

Testsigma

Test automation platform for web, mobile apps and APIs

Run Capybara scripts on 3000+ browsers online

Perform automation testing with Capybara on LambdaTest, the most powerful, fastest, and secure cloud-based platform to accelerate test execution speed.

Test Now