Search code examples
javascriptjavabuttonscriptingdetection

How to write a script to detect active buttons on a website?


I am trying to find out a way to write an external script that will run on my computer and preform a specific action. The script needs to access my google chrome, a specific tab, and check the code of the website for a button property change. Ones the button's property changes i want the script to press the button. I am sure that the detection itself is easy, I'm just not sure how to write an external scrip that will access Chrome.


Solution

  • If you want an outside code to do things for you (read, automate), and you are trying to do it on a website, I suggest looking into Selenium.