Selenium Input Text (Python)

December 22, 2018

Enter text into input fields.

usernameEl = driver.find_element_by_css_selector('[name="username"]')
# nameEl.value = "desmond"
usernameEl.send_keys("desmond")
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.