Looks like there is a method in the WebResponse called "getElementWithID()" with this doesn't do you much good since an HTMLElement doesn't give you access to the body.
You may have to access this via the "getDOM()" method :-( .
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Was able to do it with the getDOM method, wrote a small wrapper function that given a response, tag name, attribute name, and attribute value, returns the first matching node's value.
Slow and ugly!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Eg say I have <div id=greeting>hello</div>
How do I access the string "hello" by searching for the id=greeting ?
Looks like there is a method in the WebResponse called "getElementWithID()" with this doesn't do you much good since an HTMLElement doesn't give you access to the body.
You may have to access this via the "getDOM()" method :-( .
Was able to do it with the getDOM method, wrote a small wrapper function that given a response, tag name, attribute name, and attribute value, returns the first matching node's value.
Slow and ugly!