I'm trying to use Selenium from a very simple VBA-program:
Public Sub Test()
Dim d As New WebDriver
Const URL = "https://www.google.com/"
With d
.Start "Chrome", URL
.get URL
.findElementById("lst-ib").SendKeys "Selenium basic GitHub"
.FindElementsByTag("form")(1).FindElementByCss("input[value='Google Search']").Click
.Quit
End With
End Sub
It is returning: Starting ChromeDriver (v2.8.241075) on port 53354
DevTools listening on ws://127.0.0.1:12485/devtools/browser/122b6be9-ae8f-44b0-b016-65729d831e8b [19900:8256:0809/142126.875:ERROR:device_event_log_impl.cc(214)] [14:21:26.875] USB: usb_device_handle_win.cc:1048 Failed to read descriptor from node connection: Een apparaat dat op het systeem is aangesloten, werkt niet. (0x1F)
Can anybody help? I've found some discussions on this issue on Internet, but until yet not a clear answer.