Could be an interesting enhancement. Sounds a little bit like what Capybara, a test framework for Ruby apps can do[1], things like
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
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 :)