From: <mbr...@vi...> - 2004-03-22 16:29:26
|
Hello again. I have been away from the HtmlUnit seen for some months now. I am now back at writing a test suite for a ASP.NET application. Things have changed since I last used HtmlUnit. I downloaded the latest sources from CVS and found that much of my old code doesn't compile anymore. In particular, the method HtmlPage.getOneHtmlElementByAttribute() is gone. What is it's replacement? I see some classes with "xpath" in their name. Does HtmlUnit now have xpath support? I'm sorry if this is a FAQ, but I didn't find anything in the list archive. I also found that I had to download maven and add the following jars to the classpath to get the source to compile using JBuilder. commons-jelly-20030902.160215.jar commons-jelly-tags-ant-20030625.032346.jar commons-jelly-tags-define-20030211.142932.jar commons-jelly-tags-util-20030211.141939.jar commons-jexl-1.0-beta-1.jar dom4j-1.4-dev-8.jar One last thing, which is also an issue with 1.2.3, is that HtmlImageInput.click () does not cause the enclosing form to get posted. I had to call HtmlImageInput.click(0,0). Is this by design? Thank you very much for your ongoing efforts! Mike Bresnahan |