I
I
Ilya Nezgovorov2016-10-02 10:27:33
Automation
Ilya Nezgovorov, 2016-10-02 10:27:33

How to automate processes on a page using C++?

Hello! The task was to automate a couple of processes in the browser programmatically via C ++, namely pressing keys under given conditions (for example, if the value is "1", then press, if there are none at all, then do not press). How can I do it? Apply a bunch of C ++ (the program itself) and PHP (parsing and pulling data) + JavaScript (click the script, enter the value)? Are there other ways to start? How to find these values ​​and make it work in C++? Newbie in this business, understand correctly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rou1997, 2016-10-02
@sage_mexanic

Use an embedded browser - Phantom.js and Selenium designed specifically for this,
or just "engines" - IE, Gecko, WebKit, Awesomium and CEF.
Another option is to work directly with the server instead of interacting with the browser, using Fiddler, Wireshark, Charles, Web Inspector (DevTools), etc. sniffer to track which HTTP requests are sent during certain actions, and simulate them using curl, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question