Introduction to Capybara
Discover the power of Capybara, a domain-specific language (DSL) for web testing. Learn how to set up, locate elements, and interact with the web using Capybara’s built-in methods. Explore advanced topics like visual testing and executing tests in a browser. Enhance your testing skills with our sample project on GitHub. Join us and unlock the potential of Capybara for seamless web testing.
Capybara is a domain-specific language, a DSL, that comes with built-in methods that allow you to visit a page, fill in a textbox, click a button, click a link, check a checkbox, choose a radio button, or select an item from a dropdown and search within a section of the page.
Capybara works with Ruby, created by Yukihiro “Matz” Matsumoto back in 1995 to be an easy-to-use scripting language.
In this course, we will cover setting up Capybara, locating elements, creating tests that interact with the Web, dealing with wait times, handling confirmation modals and pop-ups, executing the tests in a browser.
We will also cover advanced topics such as capturing screenshots, setting up Chrome with logging, running tests in Capybara’s new Apparition driver, and performing visual testing.
I’ve created a sample project on my GitHub site in order to help walk you through Capybara.
Thank you, and happy testing!
GitHub Repo for Course Code
Team Capybara GitHub
GitHub of T.J. Maher
GitHub of Applitools Eyes – Ruby
Tutorial – Applitools + Capybara
User Reviews
Be the first to review “Introduction to Capybara”
You must be logged in to post a review.
There are no reviews yet.