2 elements found for //body at pb11123357.pl line 13. #### use WWW::Mechanize::Chrome; { no warnings 'redefine'; sub WWW::Mechanize::Chrome::text { my $self = shift; # Waugh - this is highly inefficient but conveniently short to write # Maybe this should skip SCRIPT nodes... join '', map { $_->get_attribute('innerText') } $self->xpath('//body', single => 1 ); } }