

I am trying with this XPath expression. It will fetch data (with - values) but for both column. But I want to fetch only change (Pts) column data.
//*[@id="div_bseindices"]/div/div/div/ul/li[contains(@class,'alignR red')]


I am trying with this XPath expression. It will fetch data (with - values) but for both column. But I want to fetch only change (Pts) column data.
//*[@id="div_bseindices"]/div/div/div/ul/li[contains(@class,'alignR red')]
Copyright © 2021 Jogjafile Inc.
use the tag it will take the value which is in minus points here I am using xpath which contains text as '-' hope it works //*[@id="div_bseindices"]/div/div/div/ul/li[contains(text(),'-')]