We have some tests written in Capybara (Ruby) + SitePrism + ChromeDriver.
In some of those test, there is a page involved which has some very slow-loading iframes and which is causing the tests to fail with Net::ReadTimeout exceptions.
I know that I can increase the timeout to wait for longer, but this would increase the total execution time of the tests by a big factor.
Also, we don't really care about the iframes themselves, only for the rest of the elements in that page.
Is there any way to tell Capybara to not wait for the iframes to load?
If that's not possible, would at least be possible to wait some predefined time and if that time expires, simulate a stop-page-loading (like pressing the escape button in an actual browser)?