http://qs1969.pair.com?node_id=11148402


in reply to Re: WWW::Mechanize::Chrome VERY slow on xpath obtaining TDs of a TR
in thread WWW::Mechanize::Chrome VERY slow on xpath obtaining TDs of a TR

After adding HTML::Tree and parsing some stuff in pure Perl land I think that IS actually the right approach:

  1. Use W::M::Chrome for JS rendering, JS interactions and high-level xpath
  2. Slurp HTML chunks and process in the Perl side as much as possible