667514 members! Sign up to stay informed.

Sponsored Links


Resources

Enterprise Java
Research Library

Get Java white papers, product information, case studies and webcasts

News News News Messages: 13 Messages: 13 Messages: 13 Printer friendly Printer friendly Printer friendly Post reply Post reply Post reply XML XML XML

HtmlUnit 2.5, a headless java browser, released

Posted by: Ahmed Ashour on April 22, 2009 DIGG
A new release of the Open Source java GUI-Less browser is available, which allows high-level manipulation of web pages, such as filling forms, clicking links, accessing attributes and values of specific elements within the pages, you do not have to create lower-level requests of TCP/IP or HTTP, but just getPage(url), find a hyperlink, click() and you have all the HTML, JavaScript, and Ajax are automatically processed.

The most common use of HtmlUnit is test automation of web pages (even with complex JavaScript libraries, like jQuery and Google Web Toolkit), but sometimes it can be used for web scraping, or downloading website content.

The main enhancements of this release:
  1. Improved JavaScript support, particularly full support for MooTools, adding to already supported Google Web Toolkit, jQuery, Mochikit and Sarissa

  2. Repackaged Rhino classes to allow the use of HtmlUnit and a regular Rhino version in the same project

  3. Support all HTML elements

  4. Experimental WebClient.waitForBackgroundJavaScript() and WebClient.waitForBackgroundJavaScriptStartingBefore() for simple, fast and deterministic AJAX testing

  5. Reworked handling of background JavaScript tasks using Java 5 executors

  6. And as usual, various bug fixes

You can find more information in the official website, the development team is looking forward to getting your feedback.

Threaded replies

·  HtmlUnit 2.5, a headless java browser, released by Ahmed Ashour on Wed Apr 22 08:27:17 EDT 2009
  ·  Re: HtmlUnit 2.5, a headless java browser, released by Dominique De Vito on Wed Apr 22 09:01:12 EDT 2009
    ·  Re: HtmlUnit 2.5, a headless java browser, released by Ahmed Ashour on Wed Apr 22 10:14:50 EDT 2009
      ·  Re: HtmlUnit 2.5, a headless java browser, released by Time Passx on Wed Apr 22 12:25:14 EDT 2009
    ·  2.5 getting better for Ajax by Frank Cohen on Mon Apr 27 01:47:05 EDT 2009
    ·  GREAT comment by cabi master on Tue Oct 27 09:34:23 EDT 2009
      ·  direkfilm by direkfilm1 direks on Mon Nov 16 08:56:05 EST 2009
  ·  Congratulations! by Ophir Radnitz on Thu Apr 23 02:59:56 EDT 2009
  ·  www.indirmedenfilmizle.net by hasan baba on Mon Jun 29 11:04:57 EDT 2009
  ·  www.film.izlesek.org by hasan baba on Mon Jun 29 11:06:14 EDT 2009
    ·  thanks by hasan baba on Sat Jul 11 12:34:17 EDT 2009
  ·  GREAT article by cabi master on Tue Oct 27 09:33:23 EDT 2009
  ·  Re: HtmlUnit 2.5, a headless java browser, released by emre unsal on Wed Nov 18 21:17:38 EST 2009
    ·  Film izle by eren deg on Thu Nov 19 08:00:34 EST 2009
  Message #307769 Post reply Post reply Post reply Go to top Go to top Go to top

Re: HtmlUnit 2.5, a headless java browser, released

Posted by: Dominique De Vito on April 22, 2009 in response to Message #307719
Is there a savePage() and/or saveCompletePage() (with images and so on) available ?

It would be VERY useful for downloading content.

Thanks.

Dominique
http://www.jroller.com/dmdevito

  Message #307778 Post reply Post reply Post reply Go to top Go to top Go to top

Re: HtmlUnit 2.5, a headless java browser, released

Posted by: Ahmed Ashour on April 22, 2009 in response to Message #307769
Is there a savePage() and/or saveCompletePage() (with images and so on) available ?

Not yet, but it has been required in one of the Feature Requests.

  Message #307792 Post reply Post reply Post reply Go to top Go to top Go to top

Re: HtmlUnit 2.5, a headless java browser, released

Posted by: Time Passx on April 22, 2009 in response to Message #307778
guess you'll have to download your porno the old fashioned way

  Message #307827 Post reply Post reply Post reply Go to top Go to top Go to top

Congratulations!

Posted by: Ophir Radnitz on April 23, 2009 in response to Message #307719
I've been using your library for UI testing since 2.3 and find it very pragmatic and useful. Thank you!

  Message #307953 Post reply Post reply Post reply Go to top Go to top Go to top

2.5 getting better for Ajax

Posted by: Frank Cohen on April 27, 2009 in response to Message #307769
Congratulations to the HTMLUnit team on the 2.5 release. We've been participating in the development/testing of 2.5. We tested it with our SeleniumHTMLUnit library in TestMaker (lets you run Selenium tests using HTMLUnit as the browser) and found 2.5 handles much more Ajax strangeness than 2.4.

-Frank Cohen
http://www.pushtotest.com

  Message #310393 Post reply Post reply Post reply Go to top Go to top Go to top

www.indirmedenfilmizle.net

Posted by: hasan baba on June 29, 2009 in response to Message #307719
sinema izle



film izle



film izle

online film izle

indirmeden film izle

film izle



film izle



film izle

bedava film izle


indirmeden film izle


  Message #310394 Post reply Post reply Post reply Go to top Go to top Go to top

www.film.izlesek.org

Posted by: hasan baba on June 29, 2009 in response to Message #307719
tv izle



blog

bedava film izle

indirmeden film izle



izle

<p>şarkı dinle



müzik dinle




sinema izle



film izle



film izle

online film izle

indirmeden film izle

film izle



film izle



film izle

bedava film izle


indirmeden film izle


  Message #310960 Post reply Post reply Post reply Go to top Go to top Go to top

thanks

Posted by: hasan baba on July 11, 2009 in response to Message #310394
I agree

sinema izle

film izle

bedava film izle

online film izle

izle


  Message #328348 Post reply Post reply Post reply Go to top Go to top Go to top

GREAT article

Posted by: cabi master on October 27, 2009 in response to Message #307719
Woow. This is really great article. Thank you TSS
liseli sikiş izle
sex izle
sikiş izle

  Message #328349 Post reply Post reply Post reply Go to top Go to top Go to top

GREAT comment

Posted by: cabi master on October 27, 2009 in response to Message #307769
Really great comment

liseli sikiş izle
sex izle
sikiş izle

  Message #329179 Post reply Post reply Post reply Go to top Go to top Go to top

direkfilm

Posted by: direkfilm1 direks on November 16, 2009 in response to Message #328349
i like it website. thank you my friend...


film izle
film seyret
sinema izle
direk izle
bedava film izle
online film izle
direk film izle
direkizle
indirmeden film izle
kelebek
el terlemesi

  Message #329339 Post reply Post reply Post reply Go to top Go to top Go to top

Re: HtmlUnit 2.5, a headless java browser, released

Posted by: emre unsal on November 18, 2009 in response to Message #307719
you can some times see this events.so this can be very normal.
if you see an example for this sinema izle is an example.or you might want to see another thinks at kamera şakası izle

  Message #329352 Post reply Post reply Post reply Go to top Go to top Go to top

Film izle

Posted by: eren deg on November 19, 2009 in response to Message #329339
film izle
indirmeden film izle
+18 film izle
erotik film izle
film izle seyret

New content on TheServerSide.comNew content on TheServerSide.comNew content on TheServerSide.com

Dependency Injection in Java EE 6 - Part 1

Reza Rahman explores the features of the proposed JSR 299, Contexts and Dependency Injection for Java EE (CDI). When approved, it promises to be a key feature of Java EE 6. (November 2, Article)

SAML: It's Not just for Web services

SAML is an XML-based standard for exchanging authentication and authorization data between security domains. The single most important problem that SAML was created to solve is the Web browser Single Sign-On problem. Many organizations are debating whether to stay with version 1.1 or move to 2.0. This article makes observations about both options. (September 28, Article)

Programming is Also Teaching Your Team

Joe Ottinger takes a look at how people learn, and applies it to the practice of programming. He notes that understanding how people learn is an essential part of working in a programming team. (September 22, Article)

Can Java EE Deliver The Asynchronous Web?

Stephen Maryka gave us an article about the Asynchronous Web and posed a number of questions that get examined like an approach to delivering Asynchronous Web capabilities through extensions to existing Java EE technologies. (July 14, Article)

JSF Flex

JavaServer Faces Flex goal is to provide users capability in creating standard Flex components, part of flexSDK which is open sourced through MPL license, as normal JSF components. This article by Ji Hoon Kim will provide an overview of creating a simple multilingual JSF page consisting of JSF Flex tags. (June 29, Article)

The Rules of SOA - A Road to a Successful SOA Implementation

In this session Jeff explores the key characteristics of successful SOA projects. He covers some of the patterns, and anti-patterns, tool sets, and strategies that he himself learned the hard way. Last, he provides a strategy and blueprint for achieving a high likelihood of success in your SOA project. (June 23, Tech Talk)

Ari Zilka Talks About Terracotta 3.1

Ari Zilka, CTO of Terracotta, Inc., talks about the new features in Terracotta 3.1, announced during JavaOne and available now. (June 15, Tech Talk)

Enterprise Application Integration, and Spring

In this Tech Talk, Josh Long explores an integration challenge using Spring Integration and walks through the implementation, employing and expanding on the basic patterns of Enterprise Application Integration to tie together components into a function integration solution, and then demonstrates how Spring Integration helps address the integration requirements. (June 15, Tech Talk)

Google Web Toolkit: An Introduction

In this Tech Talk, David Geary teaches you: The basics of Google Web Toolkit; How to implement Ajax-enabled applications in Java; Internationalization; Hooking into the browser history mechanism; Remote procedure calls. (June 4, Tech Talk)

Just Enough Early Architecture to Guide Development

Jon Kern discusses the best architecture/technical solutions and ensure that they are repeated by all developers. By tackling the architecture up-front in a serial manner, subsequent parallel development will be much more manageable and predictable. (May 28, Tech Talk)

Productive Programmer: On the Lam from the Furniture Police

This keynote describes the frustrations of modern knowledge workers in their quest to actually get some work done, and solutions for how to guard yourself against all those distractions. Neal Ford talks about environments, coding, acceleration, automation, and avoiding repetition as ways to defeat the misguided attempts to sap your ability to produce good work. (May 26, Tech Talk)

Auto-Scaling Your Existing Web Application

Gil demonstrates how new, aggressive uses of already abundant compute capacity by common applications offer competitive value for application designers. (May 21, Tech Talk)

Automating Hibernate Mapping and Queries For Java Web Development

Chris Keene introduces WaveMaker as a new way to automate the ability to generate Hibernate classes in order to more quickly bring OR mapping into an application. (May 19, Article)

Auto-Scaling Your Existing Web Application

In this session Nati Shalom demonstrates how to take a standard Java EE web application and scale it out or down dynamically without changes to the application code. Seeing as most web applications are over-provisioned to meet infrequent peak loads, this is a dramatic change because it enables growing your application as needed, when needed, without paying for unutilized resources. (May 19, Tech Talk)

Free Book PDF Download: Mastering EJB Third Edition

Mastering EJB was one of the original and most influential EJB books in the industry. Mastering EJB III now returns with two new expert co-authors, updated for EJB 2.1 and 30% new chapters including security, integration, best practices, open source, and more.
(Book PDF Download)

Application Server Matrix

The Application Server Matrix is a detailed listing of J2EE vendors and their application server products, with information on latest version numbers, J2EE spec support and licensing, pricing, platform support, and links to product downloads and reviews.
(Application Server Comparison Matrix)

News | Blogs | Discussions | Tech talks | Patterns | Reviews | White Papers | Downloads | Articles | Media kit | About
Java Solutions
All Content Copyright ©2007 TheServerSide Privacy Policy
Site Map