How to Migrate from Capybara Webkit to Webdrivers

1 ยท fastruby.io ยท May 20, 2020, 11 a.m.
Summary
We all know testing is important. We have our unit tests and integration tests to make sure everything is working as expected. At OmbuLabs, we use Capybara for our integration tests so that we can interact with the app as a real user would. This is the process we used to replace the capybara-webkit gem in a legacy project with a more modern approach that uses the webdrivers gem and a headless browser. Why Capybara Webkit By default, Capybara uses rack-test as the driver. Unfortunately rack-test...