How to select svg button with xpath

Hi. I have a Onboard -button that I can’t select. The button contains an svg and a name.
I have try basic: Click //button[contains(text(),


'Onboard ')]

You tried Onboard without spaces?
Click //button[contains(text(),"Onboard")]

Or trying normalize-space, using suggestion from Google search:
Click //button[contains(normalize-space(.),"Onboard")]

1 Like

You can try as example the next xpath:
//*[local-name() = ‘svg’]