'Uploading Image to Form Filled with Python Selenium Doesn't Work

I'm sure I'm requesting to the right place, the image is not uploading, the operation is waiting without error

macOSS Chrome Python 3.8 Selenium

browser.find_elements(By.XPATH, '//button[@jscontroller="soHxf"]')[1].send_keys("./img1.jpg")
            sleep(2)

2

3



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source