upload
The command to upload a file to the element.
Last updated
# Selenium .send_keys()
driver.find_element(By.ID("select-file")).send_keys("path/to/file.png")
# Pylenium .type()
py.get("#select-file").type("path/to/file.png")py.get("#select-file").upload("path/to/file.png")
py.get("#upload-button").click()