Selenium vs. Capybara

  • 20
  • 22
  • 61.3K
  • -
  • -
  • 5.32K

What is Selenium?

Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.

What is Capybara?

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. WebKit is supported through an external gem.
Why do developers choose Selenium?
Why do you like Selenium?

Why do developers choose Capybara?
Why do you like Capybara?

What are the cons of using Selenium?
No Cons submitted yet for Selenium
Downsides of Selenium?

What are the cons of using Capybara?
Downsides of Capybara?

Want advice about which of these to choose?Ask the StackShare community!

What companies use Selenium?
968 companies on StackShare use Selenium
What companies use Capybara?
48 companies on StackShare use Capybara
What tools integrate with Selenium?
9 tools on StackShare integrate with Selenium
What tools integrate with Capybara?
3 tools on StackShare integrate with Capybara

What are some alternatives to Selenium and Capybara?

  • BrowserStack - Instant access to a lab of 1000+ real mobile and desktop browsers for testing.
  • Karma - Spectacular Test Runner for JavaScript
  • LambdaTest - Perform Cross Browser Testing on 2000+ Real Browsers and Operating System Online
  • Sauce Labs - Test mobile or web apps instantly across 700+ browser/OS/device platform combinations - without infrastructure setup.

See all alternatives to Selenium

Selenium IDE Is Dead, Long Live Selenium IDE!
Mixing Selenium Into Your Load Scenario
Is there life after Selenium IDE?
Principles of Effective Testing with Capybara


Interest Over Time