I want to write test cases for my rails application. I have already written a lot of test cases in Rails built-in framework Minitest. Now I want to test javascript functionality of my web app. I came across these two tools
1: Selenium web-driver
2: Capybara-webkit
I am confused which one to use. I know few advantages and disadvantages of these two tools like
- Capybara webkit is headless while selenium web-driver open a browser.
- Capybara is faster than selenium.
- Capybara cannot open any other application while selenium can interact with third party apps like facebook and LinkedIn
Can anyone tell me the comparison of these two tools for testing ?