TODO for Capybara 2.4 compatibility

[ci skip]