Removed the constraint on browser.type() so as not to exclude other valid input elements e.g., select, textarea.