Skip to main content

Testing web apps using Capybara

Running the Example Project​

  1. Clone or download the repository and navigate to that folder
git clone https://github.com/applitools/tutorial-capybara-ruby-basic.git
cd tutorial-capybara-ruby-basic

Note: you can alternatively download the project as a Zip file and extract it

  1. Install the dependencies
gem install bundler && bundle install
  1. Run the example test
APPLITOOLS_API_KEY="[Your API Key]" bundle exec ruby simple_test_script.rb

This will first set your APPLITOOLS_API_KEY into the node process then run bundle exec.

Adding Applitools Eyes to an Existing Project​

Install Applitools Eyes dependencies:

gem install eyes_capybara

Sample test​


Having Trouble?

Don't suffer in silence! Let us help you. Please reach out to us to get your project working.

Taking the next steps with Applitools Eyes​

Congratulations on completing this quickstart! There's still so much to learn about visual testing with Applitools, but you're off to a great start.