Remove click event from selenium test so javascript alert can be checked.