title: JEST: select an HTML element through innerHTML
body: <p>Folks, I have a React Component which on rendering has this HTML in it:</p>
  
  <pre><code>&lt;button class="encryped-class__2TKgPzyme4 encryped-class__1ZnNbe3gTn"&gt;1&lt;/button&gt;
  </code></pre>
  
  <p>It's a pagination button, and I want to simulate a click on it. The hacky way to select this element was:</p>
  
  <pre><code>const wrapper = Enzyme.mount(&lt;Component {...someDefaultProps} /&gt;);
  wrapper.find("button.encryped-class__2TKgPzyme4")
      .first()
      .simulate("click");
  </code></pre>
  
  <p>I want to select this with the innerHTML value being <code>1</code>.</p>
  
  <p>Is there a way I can do that? If not, is there an alternate way to do this?</p>