xpath=(.//*[normalize-space(text()) and normalize-space(.)=‘$2.66’])[5]/following::button[1]
The above code has the price of $2.66 as I am using this to print shipping labels. The issue is some labels are different prices like $2.70, $3.09 etc. How can I get this code to go to the next step no matter the price listed?
Or better is there a way to just add the prices in the like; $2.66, $2.70, $3.09 etc.?