Xpath is unable to find price value
-
I am trying to set an xpath to detect the price of a website but it doesn’t seem to work even though the output seems to be correct.
The website I am trying to set the xpath for is https://www.public-cyprus.com.cy/product/tileoraseis/tileoraseis/tileorasi-samsung-85-smart-4k-qled-qe85q95t/prod10634463pp/
The xpath expression I am using is: concat(“€ “,translate(//div[@class=”product-main-container product-page”]/@data-price,”.”,””),”.”,translate(//div[@class=”product-main-container product-page”]/@data-decimals,”€”,””))
Can anyone help?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Xpath is unable to find price value’ is closed to new replies.