Fix MIME type input in a Selenium test