Very new to Selenium, in fact this is the first auxiliary library I am using in VBA.
I'm using the Web Driver for Microsoft Edge, and I'm having trouble figuring out how to use send keys, mainly to select the entire contents of the page and then copy them to the clipboard.
here is what I have
'''
Sub Send_Keys_CTRL_A_Ctrl_C()
Dim obj As New WebDriver
obj.Start "edge", ""
obj.Get "http://www.google.com"
Application.Wait (Now + TimeValue("0:00:01"))
obj.FindElementByClass("body").SendKeys (Keys.Control + "a" +
Keys.Control)
End Sub
'''
As is obvious to some most likely, it bugs out on the last line, which is quite honestly just what I copied from my IE drivers, so no surprise that it doesn't carry over.
Thank you.