Awesome tool! How do you handle scraping data that's hiding behind layers of ~fancy~ JS libraries? Is it as simple as triggering click events, pausing for loading, and then grabbing the information?
For more advanced usage (like clicking, or submiting a search request) it would need to have some kind of scenario like: "Click on this" -> "wait till this loads" -> "type something here" -> "scroll to this" -> load data.
Which is possible with headless chrome, so the trick is to make it general and easy to use (something like recording what user does through chrome plugin). Maybe in future versions :)
click_link('Link Text')
fill_in('Password', with: 'Seekrit')
choose('A Radio Button')
check('A Checkbox')
uncheck('Another Checkbox')
select('Option', from: 'Select Box')
1) https://github.com/teamcapybara/capybara#navigating