yes we can able to write xpath for this.you can write xpath for phone price using following step1: will store into list of webelements step2: loop all prices step3:put if condition(price61k) step4:give click actions for all condition matched price step5:for going to next element price ,rename of declaration list of webelement(step1) for interacting with DOM ,after finishing loop
Yes correct . Following ->select everything in current page Descendant-> select current node I explained here and shows clearly in html elements ,how will covered each tag for following /descendant in amazon
Good explanation, I have small doubt if I want select only phone price 61k in the above example, can we write an xpath for this?
yes we can able to write xpath for this.you can write xpath for phone price using following
step1: will store into list of webelements
step2: loop all prices
step3:put if condition(price61k)
step4:give click actions for all condition matched price
step5:for going to next element price ,rename of declaration list of webelement(step1) for interacting with DOM ,after finishing loop
@@NATASATech thank you I will try
Can u pls check
Following selecting everything
Except the descendants
This is what I have learnt from one of tutors can u pls confirm on this thanks
Yes correct .
Following ->select everything in current page
Descendant-> select current node
I explained here and shows clearly in html elements ,how will covered each tag for following /descendant in amazon