D
D
Distemii2020-02-21 18:32:46
Node.js
Distemii, 2020-02-21 18:32:46

How to send request from nodejs to website and perform actions?

There is NodeJS. From it, you need to make a request to a third-party site and perform actions, such as clicking on a button or object. How to do it?

(In advance, I need to change the password for the Minecraft user and I know all his data, namely secret questions, password, mail, login, and I need to change the password to a new one, for example, it was Hsss4162 and I need to change it to WorldEditor.)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hzzzzl, 2020-02-21
@Distemii

npm puppeteer
https://github.com/puppeteer/puppeteer
load headless browser, wait for page to load into memory, and click css selectors
https://stackoverflow.com/a/52905335
examples
https://github.com /checkly/puppeteer-examples

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question