Java API for web site browsing

Discussions

Web tier: servlets, JSP, Web frameworks: Java API for web site browsing

  1. Java API for web site browsing (1 messages)

    Hi,

    i want to know if we have any API in java which i can use to open a website in the browserr and then enter the data and submit that information to the server.I mean automating the browsing of a website using java.I know we have a class named ROBOT by which i can take actions like entering the data but the problem is it is independent of the broser .ie if the browser takes long time to load a website then the code will break.

    Thanks in advance

     

  2. Java API for web site browsing[ Go to top ]

    Maybe Selenium (http://seleniumhq.org/). It's designed to run tests in webbrowser. You can write such test using selenium remote control (there are libraries for java, python, perl, ruby php adn .net). You can request page load and then wait for load (with specified timeout). Try this.