The input element that I have does not have anything to identify it because is my page is built through a react framework. So I want to select the appropriate input by its label above it. My HTML looks like the following:
<div>
<label>Project</label>
</div>
<div>
<div>
<input>
</div>
</div>
<div>
<label>Type</label>
</div>
<div>
<div>
<input>
</div>
</div>