Este fórum está sendo desativado

Depois de 9 anos, este fórum será desativado. Mas calma.... estamos migrando para uma comunidade no DISCORD. Junte-se a nós.

ENTRAR PARA DISCORD

Tópicos relacionados a códigos VBA, gravação de macros, etc.
#73526
Estou tendo um problema no meus codigo. Acredito que seja porque o site tem um frame.

Será que tenho que mudar alguma coisa no código?

Estou usando selenium chromedriver.





Public navegador As New ChromeDriver

Dim objIE As New InternetExplorer 'Referencie "Microsoft Internet Controls"

Dim GC As Object

Dim WebUrl As String

Dim NavigatorAddress As String





Sub outros_site_nfs_pme_chrome()



Dim url As String

url = http://nfse.eunapolis.ba.gov.br/webrun/ ... rolling=no

IM = Planilha2.Range("D21").Text

CPF = Planilha2.Range("G21").Text

SN = Planilha2.Range("J21").Text



nav_campo1 = Planilha1.Range("J29").Text

nav_campo2 = Planilha1.Range("K29").Text

nav_campo3 = Planilha1.Range("L29").Text

nav_campo4 = Planilha1.Range("M29").Text



navegador.Start

navegador.Window.Maximize

navegador.Get url



navegador.FindElementByXPath(nav_campo1).SendKeys (IM)

navegador.FindElementByXPath(nav_campo2).SendKeys (CPF)



End Sub

Responder
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]

Estamos migrando para uma comunidade no Discord