TUVOK
05-10-2020 11:22:20
Bom dia!
No wesbscraping por VBA tem como alterar o valor ao invés de extrair?
No wesbscraping por VBA tem como alterar o valor ao invés de extrair?
TUVOK
05-10-2020 11:22:20
webmaster
05-10-2020 13:06:39
TUVOK
05-10-2020 13:14:09
TUVOK
05-10-2020 16:41:10
webmaster
06-10-2020 04:07:44
Código: Selecionar todos
Private Sub Execute_Script()
Dim driver As New ChromeDriver
driver.Get "https://en.wikipedia.org/wiki/Main_Page"
Dim title
title = driver.ExecuteScript("return document.title;")
Debug.Assert "Wikipedia, the free encyclopedia" = title
driver.Quit
End Sub
TUVOK
06-10-2020 14:00:07
webmaster
06-10-2020 16:27:15
Código: Selecionar todos
Private Sub Exemplo()
Dim driver As New ChromeDriver
driver.Get "https://en.wikipedia.org/wiki/Main_Page"
driver.ExecuteScript ("document.getElementById('mp-topbanner').innerHTML = '<marquee><h1 style=\'font-size:90px\'>Agora esse é o meu site</h1></marquee>';")
MsgBox "Rá"
driver.Quit
End Sub
TUVOK
06-10-2020 21:15:12
TUVOK
06-10-2020 22:50:52
TUVOK
08-10-2020 21:38:13
Raygsson
08-10-2020 23:42:36
Código: Selecionar todos
driver.FindElementsByXPath("//*[@id=""OFÍCIOS-SEI_24156""]/table/tbody/tr[11]/td[2]").Value = Sheets("BD").Range("G" & Linha).Text
Código: Selecionar todos
driver.ExecuteScript ("document.getElementById('OFÍCIOS-SEI_24156').innerHTML = '" & Sheets("BD").Range("G" & Linha).Text & "';")
TUVOK
09-10-2020 12:58:12
Raygsson
09-10-2020 13:56:59
TUVOK
09-10-2020 14:04:58
TUVOK
11-10-2020 14:22:23