Is it possible to execute an XPath query for a previous result? I have this xpath:
my @objDivRes = $objBrow->xpath('//div[@id="result"]/ol/div/li', all => 1);
but when i execute the xpath function in the previous result
my @objLink = $objDivRes[0]->MozRepl::RemoteObject::Methods::xpath('//div/h3/a');
There was an error:
MozRepl::RemoteObject: TypeError: doc.evaluate is not a function at test.pl
Is there an example? thank you
source
share