PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, May 19, 2022

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

 May 19, 2022     browser, javascript, node.js, service-worker, web-services     No comments   

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)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

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

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing