Using XPath Contains -


i trying scrape price data off various websites. working fine except 1 site xpath price unique each product page e.g.
page - //*[@id="price-including-tax-2940"]
page b - //*[@id="price-including-tax-1456"]
i.e. have unique number part of query string.

this example of 1 of pages in question http://thepowersite.co.uk/honda-gx200-powered-gear-driven-pump-pressure-washer-b2565hag

to save me finding unique xpath price on each page, trying modify xpath query remove unique number. i've tried various things along these lines, //*[id=[contains(.,'price-including')]] lack of understanding of xpath letting me down.

to me seems want

//*[contains(@id,'price-including')] 

Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -