Jump to content

How to press button in webpage ( chrome browser ) with autoit?


Recommended Posts

I'm trying to do an automatic search engine in google. But i dont know how to press button in webpage. ShellExecute("https://www.google.bg/") MouseMove(751,401) MouseClick("left", 751, 401, 1) Send("hello world") And now I want to press the search button.

Link to comment
Share on other sites

  • 3 years later...

Just send an Enter after to submit the search, since you are sending text to the field anyways, you just hit Enter after {ENTER}.

An alternative to trying to access controls and buttons on a webpage is to generate Google search links instead of using a search page.

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...