I can't get to an element present on an HTML page with a Selenium command. I tried everything: find with Class, Id and CSS, but nothing works. Maybe with the Path search method, but not knowing it, I can't formulate it. Can anyone help me?
This is the HTML:
<input type="text" name="search" value="" placeholder="Cerca per prodotto" class="form-control input-lg searchInputHeader">
I expect to be able to enter a value located on an Excel sheet in the search field on the HTML page, using the .SendKeys
instruction.
For example:
.FindElementsByClass("form-control input-lg searchInputHeader").SendKeys Cells(4, VbaPosizione)
but doesnt'work.