Dec-06-2017, 05:31 PM
My suspection here that your not find the "file_upload" element.
elem2=driver.find_element_by_id('file_upload') print(elem2) elem2.send_keys("C:\\Users\\pubhatia\\Documents\\learning\\python\\call_url.py")Can you try this code? What does it print?