Answer the question
In order to leave comments, you need to log in
How to simulate activity on the site?
There is a site on which an event occurs through websockets and a new element appears on the page.
How to catch an event?
There is an element:
div-order_list
An element will be added to it:
div-order
In which there is a checkbox and an accept button.
Where to look to write a bot that will select and accept orders automatically. I understand that page parsing will not help here.
Answer the question
In order to leave comments, you need to log in
If you solve the problem head-on and collect it from one page, then you can take Selenium / Puppeteer and follow the page through them. Otherwise, it’s better to connect yourself via a websocket and read what is sent, but this will be more difficult.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question