Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Java 

Need trick or script to auto click on a button on a webpage

i want to auto click on a button on a webpage
like amazon lightning deals when live, i want it will automatic added to cart by auto click trick or script

when amazon lightning deals live it shows - Add to cart button
No one's going to code it for you, but take a look into Selenium or JUnit. Good luck if you're going to code it yourself.


it'll be quite easy if you use the selenium web driver framework. the documentation of selenium (found here),
(Mar 12, 2017 09:06 PM)shyamsss Wrote:  i want to auto click on a button on a webpage
like amazon lightning deals when live, i want it will automatic added to cart by auto click trick or script

when amazon lightning deals live it shows - Add to cart button

Does this have to be written in Java? Because you could use other languages, for example Python, to solve this problem.
(Mar 15, 2017 05:40 AM)Mohinder Wrote:  Does this have to be written in Java? Because you could use other languages, for example Python, to solve this problem.

My question as well ✌
“We are on the verge of a global transformation. All we need is the right major crisis and the nations will accept the New World Order.”
~ David Rockefeller, UN Business Conference, 1991
(Mar 15, 2017 05:41 AM)Conscious Wrote:  My question as well ✌

Yeah, he might want to implement this in something bigger. But even then you could use Python for it.

Anyway, If you want to do it with Java: do as said above. Selenium will do the trick.

If you want to use another language like Python, you can send me a PM and I will help you with it.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by The Pulp FictionApr 24, 2022 12:22 AM 2 199 Apr 24, 2022 12:22 AM
Last Post: The Pulp Fiction
[.NET] by triplextremeSep 15, 2020 02:29 PM 7 223 Sep 15, 2020 02:29 PM
Last Post: Dredd
[.NET] by Formula 1Feb 28, 2019 02:31 PM 2 189 Feb 28, 2019 02:31 PM
Last Post: Formula 1