title: How to click on an element inside span tag? - Selenium
body: <p>Hi I am trying to click on a specific button with text "€11" on it in selenium webdriver in Java. </p>
  
  <p>The button is located within this format and there is also another button on the page with exactly the same code but different price: </p>
  
  <pre><code>&lt;button type="button" class="bui-button bui-spacer--medium bui-button--primary bui-button--wide"&gt;
  &lt;span class="bui-button__text"&gt;€11&lt;/span&gt;
  &lt;/button&gt;
  </code></pre>
  
  <p>How would I do this. Any help is appreciated :)</p>
  
  <p><a href="https://i.stack.imgur.com/YraDC.png" rel="nofollow noreferrer">Full CSS</a></p>