I have this code to fill a web form:
driver.find_element_by_id("author").click() # This opens the windows file selector pyautogui.write(\'John\') pyaut