I have a Delphi application that uses a browser wrapper (TWebbrowser or TChromium) to do automated tasks in websites : data scrapping, login, click on interface and so on.
Because i use Delphi, my app is limited to Windows. I'd like to port the same app to a modern language and move it to the cloud, so people can use it in any device's browser.
The problem is my app does a lot of tasks that could not be done by a simple CURL or HTTP GET, at least as far as i know (my web development capabilities are limited).
Is there any web platform that could do this job ? Can i use pure javascript to interact with a page in another URL, like the example below :
1 - Navigate to a URL, wait the page load.
2 - Login on the page
3 - Navigate to a specific url of this page.
4 - Fill some inputs on the page's form
5 - Click on a button to upload a file
6 - Post the form
As this examples describes, is not just a simple CURL or GET.
Thanks in advance.
Ok, what you can do is to use phantomJS instead of TWebbrowser / TChromium. it's has the same capabilities to run javascript and you can automate it from delphi, or fully run it via a js script