Selenium python obtenir un élément par type

upload_field = driver.find_element_by_xpath("//input[@type='file']")
navin_hariharan