0
I am trying to access a web page and manipulate its controls via VBA and Selennium Wrapper, however, these controls are within a frame with the "name = main2", follows the code VBA:
Sub z()
Dim objCollection
Dim numeroPregao, dataAssinatura, uasg, item, val, m
Dim c As Integer
Dim ULogin As Boolean, ieForm
Dim MyPass As String, MyLogin As String
Dim driver As New SeleniumWrapper.WebDriver
driver.Start "chrome", "http://comprasnet.gov.br"
driver.setImplicitWait 5000
driver.Open "/acesso.asp?url=/Livre/Ata/ConsultaAta00.asp"
driver.SwitchToFrame ("main2")
driver.FindElementByName("dt_ini").SendKeys "25/11/2015"
End Sub
Thank you in advance! Merry Christmas and a New Year to all!
if you found it useful to vote for the answer! rs
– Daniel Aristofanes