I tried targeting the below, but can't seem to get it to work. The error I get is
Error: Node is either not clickable or not an HTMLElement.
JavaScript
const btn = await page.$x(//button[contains(., 'My Button')])
await btn[0].click()
HTML/XML
<div>
<button>
<translate original="My Button">My Button</translate>
</button>
</div>