in reply to Seeking a more robust variant of HTML::TreeBuilder::XPath
Though my element is shown in browser's element viewer, I can't reach it in TreeBuilder's treeWhat you see in the browser via the developer tools and what you get when you fetch the same page (via curl, or LWP or whatever) must not necessarily be identical. Mainly because of Javascript possibly altering the site after load or something server side that looks at the user agent and is serving different content based on that. To check if that is the case look at the page source, not the current DOM.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Seeking a more robust variant of HTML::TreeBuilder::XPath
by Fletch (Bishop) on Jul 12, 2019 at 18:53 UTC | |
by marto (Cardinal) on Jul 12, 2019 at 19:28 UTC |