Find element by id in react-testing-library : <p>I'm using <a href="https://github.com/kentcdodds/react-testing-library" rel="noreferrer">react-testing-libarary</a> to test my react application. For some reason, I need to be able to find the element by <code>id</code> and not <code>data-testid</code>. There is no way to achieve this in the documentation.</p>

<p>Is there a way to achieve this?</p>

<p>I've the rendered output as:</p>

<pre><code>const dom = render(&lt;App /&gt;);
</code></pre>

<p>I'm looking for something in line of:</p>

<pre><code>const input = dom.getElemenById('firstinput');
//or 
const input = dom.getById('firstinput');
</code></pre>
