You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Get direct descendent text only when calling text() on a node.
Example
When an HTML node contains mixed text and element nodes, it is difficult to get just the text of the current node, since the text() call will also recursively parse all descendents.
<foo>
foo
<bar>bar</bar>
</foo>
When we have a Crawler instance pointing at <foo>, calling text() will return foo bar. There is no way to get just the direct descendent text node, foo.