element = driver.find_element_by_xpath("//input[starts-with(@class,'gsc')]") driver.execute_script("arguments[0].click();", element)