Jump to content

Clicking a web page button


Recommended Posts

I want to make a script that would click a button on a webpage, but I can't simply set the mouse to click at a particular spot because the button isn't always in the same place on the page. But it always has the same name. To be exact, the html for the button always looks like this:

<input type=button value="Start Research !" name=yr37lq onclick="xgrpqn(yr37lq);">

Someone said that I could use ControlClick or ControlSend, but I can't find the properties of the button. When I use AutoIt Window Info on the webpage, the ID and Text are both blank. I tried using CLASS:Button; TEXT:Research This ! for the ControlID, but it doesn't work. Can anyone help me with this?

Thanks in advance.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...