Reputation: 26791
Using Mechanize I want to get the text node following an HTML element:
<b>test</b>THIS IS THE TEXT I WANT.
How do I get that text once I have the <b> node using page.at('b')?
<b>
page.at('b')
Upvotes: 1
Views: 248
Reputation: 55002
That would be:
page.at('b').next
Upvotes: 5