Jump to content
Sign in to follow this  
janganan

[Ask] _FFXpath and _FFObj Failed to find object

Recommended Posts

janganan

My code

_FFStart("http://www.amazon.com/dp/B0091KD43U", Default)
$oDesc = _FFXpath(".//div[@class='productDescriptionWrapper']")

$desc = _FFObj($oDesc,"textContent")
ConsoleWrite($desc)

Autoit return

FFau3.xpath=null;try{FFau3.xpath=FFau3.WCD.evaluate(".//div[@class='productDescriptionWrapper']",FFau3.WCD,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue;}catch(e){'_FFXPath_Error: '+e;};
__FFRecv:
__FFSend: try{FFau3.xpath.hasAttribute('textContent')}catch(e){'_FFCmd_Err';};
__FFRecv: _FFCmd_Err
__FFSend: try{FFau3.xpath.textContent}catch(e){'_FFCmd_Err';};
__FFRecv: _FFCmd_Err
_FFObj ==> No match: $sObject not found: FFau3.xpath.textContent

Is this bug ?? or my code is wrong?

Share this post


Link to post
Share on other sites
janganan

Firefox Xpath found this object without problem

post-77570-0-78363600-1363485213_thumb.j

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×