I try to automate the upload of a local image file to google reverse image search. To be clear, I only want to do the upload. (Open default browser -> open google reverse image search -> upload local file -> end). I don't want to analyse the results of the search in any way.
After doing some research I found a simple solution for an online image by appending the image URL at the end of this:
https://lens.google.com/uploadbyurl?url=
That currently works like a charm. But is there a similar easy way for a local file upload? Without any API or encoding?