Revision: 836
          http://jwebunit.svn.sourceforge.net/jwebunit/?rev=836&view=rev
Author:   jevonwright
Date:     2010-05-17 06:46:09 +0000 (Mon, 17 May 2010)

Log Message:
-----------
adding a method to access the wrapped HtmlUnit element of an IElement directly

Modified Paths:
--------------
    
trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitElementImpl.java

Modified: 
trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitElementImpl.java
===================================================================
--- 
trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitElementImpl.java
     2010-04-29 14:34:16 UTC (rev 835)
+++ 
trunk/jwebunit-htmlunit-plugin/src/main/java/net/sourceforge/jwebunit/htmlunit/HtmlUnitElementImpl.java
     2010-05-17 06:46:09 UTC (rev 836)
@@ -192,5 +192,14 @@
                        return false;
                return true;
        }
+       
+       /**
+        * Return the unwrapped HtmlUnit element that this IElement represents. 
+        * 
+        * @return the HtmlUnit element this IElement represents.
+        */
+       public HtmlElement getHtmlElement() {
+               return element;
+       }
 
 }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------

_______________________________________________
JWebUnit-development mailing list
JWebUnit-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jwebunit-development

Reply via email to