2

I've a very specific question: How can I click in certain buttons on a web page? Without that thing of coordinates. =D What I really want, is a script that search for a Button (or more) with specific name and clicks it.

Imagine: You open your browser and go to google page, than you run the script and, for example, it clicks the Search button.

If possible, I want a answer wich uses java or C#.

Thanks in advance for reading this, and sorry for my bad english.

Edit:

Ok. Assuming that I'll use WatiN, can you rapidly explain how do I "put" this on my c# prog? I want WatiN to be running on a button_click event. Like: When you enter the URL on my prog and press "OK" the prog will click that especific button that I've told you before. Sorry if I've messed it up, I'me a truly noob with great ideas =s

2 Answers 2

2

For .NET, WatiN will do what you want. In fact, the very first example on the home page, shows you how to search google.

Sign up to request clarification or add additional context in comments.

Comments

0

I WatiN all the time for screen scraping web sites: http://watin.sourceforge.net/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.