[SOLVED: changed target to //*[contains(@id,“couponAdd”)] ]
I’m adding offers to my Safeway Just4U account.
In the past I successfully used click-//span[contains(text(),‘ADD’)] and I could add however many offers were displayed by adding a click-//span for each offer, for example 4 offers and Kantu would click on each of the 4 “Add” buttons.
Safeway just redesigned their site and now that works, with a hitch: it Adds the first offer, then clicks the same 1st offer, b/c the text “Added” contains Add.
How do I change the “contains” string so it clicks only “Add” and not “Added”?