samedi 22 juillet 2023

TypeError: object of type 'NoneType' has no len() - unable to send text to webpage from random selection from txt file

Trying to get this function to work but it wont allow me to use send the random text picked (mylines).

driver.find_element(By.XPATH, '//*[@id="AppRouter-main-content"]/div/div/div[2]/div[3]/div[1]/div[2]/div[3]/div[2]/div[1]/div/textarea').send_keys(print(myline))

Text to be input into writing feild from txt file.




Aucun commentaire:

Enregistrer un commentaire