Jump to content

[Ask] _FFXpath and _FFObj Failed to find object


Recommended Posts

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?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...