'Failed to upload photos on FaceBook 2022 using .send_keys() with selenium python
I'm trying to upload or post a image on facebook with selenium and python

for that i tryed with this This is the path of the section "Add Photos/Videos":
post=driver.find_element_by_xpath('//*[@id="mount_0_0_fQ"]/div/div1/div/div[4]/div/div/div1/div/div[2]/div/div/div/form/div/div1/div/div/div/div[2]/div1/div[2]/div/div1/div/div1/div/div1/div/div') post.send_keys("G:\PY SCRIPTS\IMAGES\img.png")
apparently this worked in 2020, by now the structure of Facebook changed and i have this error: ElementNotInteractableException
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
