Xpath problem - null output

Hi

I have a problem regarding Xpath query.

I want to extract details regarding every cell phones in this site “https://www.mobile.ir/phones/finder.aspx”, the marked title as the following picture.

my Xpath query is as the following:
“/html/body/div[1]/div[3]/div[1]/div[2]/form/div[2]/div[3]/div[1]/div[1]/div[1]/div[2]/h4/a”

I’ve even tried:
“/html/body/div[1]/div[3]/div[1]/div[2]/form/div[2]/div[3]/div[1]/div[1]/div[1]/div[2]/h4/a/@href

But I keep facing this problem:
cell phones2

Can anyone help me with extracting every cell phones titles in this matter?

Thanks
Mona

Hi Mona,

The XPath node configuration dialog has a UI to select a DOM element or an attribute. See the screenshot.

For your specific problem the attached workflow should do the trick.

Best,
Temesgen
forum_XPath_Problem.knwf (22.6 KB)

4 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.