I am trying to scrap some content from a website but the code below is not working(not showing any output). here is the code
$url=\"some url\";
$otherHeader
I have heard that FireFox adds a tbody
element if such isn't present.
In addition to or independently of @Tomalak's advice, try the XPath expressions with the /tbody
location step removed.
Also, use another tool as the XPath Visualizer to construct correct XPath expressions and see immediately what they are selecting.