I am in the process of creating a Java program that goes on the internet, signs in to website accounts and posts stuff. E.g. Run Program – > Tumblr – > Post “Helow World” -> Log Out of Tumblr.
I am currently using the Robot class to do this… http://download.oracle.com/javase/6/docs/api/java/awt/Robot.html
But looking ahead, I see a daunting future (web page updates will crash the program because it is based on coordinates, mouse clicks and keyboard.)
Is there someway I can do web browser automation? (e.g. surfing to websites, filling out forms etc.) (preferably in Java, python, C++ or php)
Selenium is a great option for exactly what you need. Not only can you write scripts for it in java (as well as many other languages) but you can install the browser plugin and have it record your actions to quickly learn it’s syntax.
http://seleniumhq.org/