title: How to wait in Capybara when using #all
body: <p>I am aware that <code>wait_until</code> was removed from Capybara for some reason. Capybara being good at waiting, it waits fine when using <code>find</code>, but when dealing with AJAX applications, there are times when I have to use the <code>all</code> method. For instance, I am dealing with a HTML table that I can sort by clicking column names. When I apply sort on a column name and then call <code>all(td, text: column_name)</code> it returns the values that were present before the sort as the <code>all</code> method doesn't wait like the <code>find</code> method does. I am currently using a bespoke helper <code>wait_for_ajax</code> to deal with such situations. I don't want to pass the extra <code>:wait</code> argument. Is there a better way to handle it?</p>