From: Flynn, B. <bf...@at...> - 2010-04-23 22:09:57
|
Hello. I was using HtmlUnit 2.7 (release) and saving the text values of some anchors. Is there a functional difference between getTextContent() and asText() for an HtmlAnchor? I found that getTextContent() returns almost instantly, while asText() labors for a short while (in my case iterating through about 10 items, the former took a couple of milliseconds while the latter took roughly 1000). If this is something anyone thinks is worth investigating, I can try to put a test case together. Thanks, Ben |