S
S
sergeichevks2015-07-15 09:33:30
JavaScript
sergeichevks, 2015-07-15 09:33:30

Is it possible to attach a device that emulated user actions to a device with an HTML5 web interface?

There is a device with a web interface, as the manufacturer says that the interface is in HTML5. Let's say the interface represents a button and a scoreboard with numbers. Question. Will I be able to programmatically click on a button (emulate a user), and also take data from a scoreboard with numbers? If yes, then tell me in which direction to start digging for a beginner. Thank you very much in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Rsa97, 2015-07-15
@Rsa97

Open the documentation, look for the api description. If it is not there, open the web interface of the device in the browser, press F12, "Network" tab. Press the button, see what request goes to the device. Waiting for the numbers to be updated, see what request was made and in what form the answer came. If cookies are used in the request, see where and by what requests they were set.

A
asdz, 2015-07-15
@asdz

If you can’t get into the device code, then you can get by with userscripts

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question