Hey there! I'm currently working on automating a task in Selenium WebDriver using Java, and I need to figure out how to click on a specific button that has the text "€11" on it.
This button is embedded within this structure, and there happens to be another button on the same page with identical code but a different price:
<button type="button" class="bui-button bui-spacer--medium bui-button--primary bui-button--wide">
<span class="bui-button__text">€11</span>
</button>
If you have any advice or suggestions on how I can achieve this, I would greatly appreciate your help :)