Background:
- Programming in Python (vscode)
- on Mac
Story: I am using selenium to automate a process and at some point throughout that process I have to upload a picture. I can click on the "from Computer" button that pops up but this opens the finder with all my files/documents. I do not know how I could tell python here to navigate to a given folder and klick "submit" (or upload). Question: Does anyone know a way to "control" the finder similarly to what selenium does for the web browser?
Thank you!
I have tried:
- Selenium but it can not handle this (to my knowledge) since I am no longer in the browser.
- I have also tried the package pyautogui but because I would like to be able to run the same program from several computers (the path will be the same) but they display the finder differently so I dont think that will do the trick.