I am struggling to find and click the button on the website I'm automating using Selenium WebDriver with Java. Can anyone assist me in locating it using CSS selectors?
Here is the HTML code for the button:
<div class="inputWrapper newButton" name="uploadDiv">
<h6 name="fileUpload">
<label for="pdfFileUplod">Upload file</label>
</h6>
<input id="pdfFileUplod" class="fileInput hidden_" type="file" onchange="checkFile = checkFileName(this);" name="uploadFile"/>
</div>