I'm new to Selenium Automated Testing and I'm just trying to do a simple task by typing in "hi" in the text box on a web page.
My code looks like this:
input = driver.find_element(By.XPATH, "//input[@type='file']")
input.send_keys('hi')
But when I run the code I received this error:
selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: File not found : hi
Any ideas on how to fix this?