I have a VBA project that interacts with web pages using the SeleniumWrapper reference. In Windows Vista business the application works normally, however, in Windows 7 appears the error reported in the title of the question
Follow the code:
Sub x()
Dim objCollection
Dim objCollection1 As Object
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" 'inicia o navegador
driver.Open "/acesso.asp?url=/Livre/Ata/ConsultaAta00.asp" 'navega até a pagina
Set objCollection = driver.findElementByCssSelector("frame[name='main2']") 'o erro ocorre aqui
The error is thrown last command, but the line driver.Open "/acesso.asp?url=/Livre/Ata/ConsultaAta00.asp" 'navigates to the page . does not do anything