Dinking with verifyText and xPath, wanting to create a more generic search

I added a verifyText, clicked the ‘select’ button, and its suggestion was

xpath=//*[@id="skip-button:17"]/div

What is the ‘17’ for?

Can I remove the

:17

and make it a generic search for any skip button? Is the asterisk a global placeholder, allowing me to change it to

xpath=//*[@id="skip-button*"]/div

Thanks

What is the goal here? Is there more than one Skip button?

To ignore IDs and XPath, you can use

XClickText | *Skip*

This uses OCR to find any button or link with the the text “skip” in it.

This could be helpful, thanks.

It seems that reappearing buttons look the same visually but change their underlying coding, for example, it might originally be

foo/17 (while visually appearing as bar)

and the next time it appears it’ll be

foo/6 (while visually appearing as bar)

so I’m looking for the coding equivalent of the wildcard character to see if I can get it to search for

foo* (while visually appearing as bar)

There’s still so much to learn…