Seems like there's no way to do it in Capybara, unfortunately. But if you're running your tests with the Selenium driver (and probably other drivers that support JavaScript), you can hack it
UI/UX Design by
We make sure that your target audience has the best possible experience with your digital product. You get: