I was not able to find answer on this. In the process i need to click on the link which invokes the open dialog to upload certain file which is stored on disk, but maybe now the dialog is pointing to different folder then last time and my automation cannot move on. How can i make sure the either:
a) i would be able to somehow specify for it to be always at that directory before the dialog opens
or
b) after clicking i can tell browser that it needs to go grab that file from certain path and use that and then upload the file on the webpage
After clicking on link it will ask you to upload the file right…!
here you can follow your second approach…
give your file full path it may good solution instead of directory changes.
because in the future if any changes happened in your laptop like software updates or if you want to run the bot in any other then they always you have to take care of the directory changes. So that will be a little tricky so you can follow with your second approach