Answer the question
In order to leave comments, you need to log in
Automating opening a local file in a browser?
There is a task: to automate uploading a file from a local HDD to a web interface through a browser, through the Open File Dialog. No extensions and tampermonkey can do this, because. browsers in their normal form stop such things. You also need scripted automation of the "user" actions (click on the link, etc.).
I suppose some custom build of firefox/chromium would help me. Are there any ready-made solutions and thoughts on this?
Answer the question
In order to leave comments, you need to log in
Try something from: Phantomjs, Selenium Webdriver + Chromium/Firefox, CEF, HumanEmulator.
Test script code on Clickerman:
lclick(100,200) // комментарии: click on link
wait(1) // wait 1 sec
keystring("filename.htm") // input a file mask or name
keypress(#enter) // confirm your input name
lclick(150,250) // click on file to select
halt // end
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question