This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I am trying to learn HTML Unit. but as of now, I still don't know where to start. Can someone please suggest where to start and what book needs to read? also what knowledge and skills do I need to learn before learning htmlunit. TIA
Thank you for the reply. I have seen the htmlunit website and search alot in google but I still don't know where could I begin. Is htmlunit a part of JEE? I'm still new in java and doesn't have much experience in JSE.(I'm currently reading the multithreading in Head First Java ). It would be much appreciated if someone could suggest where could I begin?
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35247
7
posted
0
HtmlUnit does not need or make use of JEE. Have you tried running the sample codes against a Web site of your choosing?
Julius Gutierrez
Greenhorn
Joined: Apr 04, 2012
Posts: 12
posted
0
yes, I have setup the htmlunit in the netbeans and tried to use the sample code from the htmlunit website. below is the code that I use. But still things are not yet clear to me. if the code below can access the google.com, is there a way on how I could confirm it? what does the environment should I expect? based in website it is a GUI-less browser does it mean it will just run in command line?
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35247
7
posted
0
Yes, HtmlUnit code runs on the command line. Check the javadocs for what you can do with the HtmlPage object the call returns - it has methods to get at the page content.
Julius Gutierrez
Greenhorn
Joined: Apr 04, 2012
Posts: 12
posted
0
I see, thanks for answering my query. It really helps me. I can now connect to a webpage using a command line app.