Thursday, May 19, 2022

[FIXED] How to automatically click a button on a website on daily basis

Issue

I aim to click a specific button on a specific website daily (Ex: at 12:00 PM).

This should be fully automatic, I mean, my computer may be on/off.

Could you please suggest a solution, idea of how to do so?

Note: I want to use JS.

Thanks.


Solution

There is a name for that - Crawler. You can use the Puppeteer library to create a headless web browser and simulate any kind of action.

The production may be on a public server, like Heroku or Deta.

Puppeteer dev web documentation



Answered By - Aviv Ben Shahar
Answer Checked By - Gilberto Lyons (PHPFixing Admin)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.