Fix Selenium tests, switch buttons to inputs.