У меня возникли проблемы при обращении к окну поиска на веб-сайте через Selenium в VBA. HTML код коробки:
<input type = "search" class ="form-control input-sm"
placeholder aria-controls="result_table"> ==$0
Я пробовал
bot.findElementByCssSelector(".form-control").SendKeys ("werresf")
bot.findElementByCssSelector(".form-control.input-sm").SendKeys ("werresf")
bot.findElementByCssSelector(".input-sm").SendKeys ("werresf")
bot.findElementByCssSelector(".form-control input-sm").SendKeys ("werresf")
bot.findElementByClassName("form-control input-sm").SendKeys ("werresf")
Но, похоже, ни один из них не работает. Любая помощь очень ценится.