Código: Selecionar todos
linha = "//*[@id=""prelive""]/div[1]/table[3]/tbody/tr[2]/td[1]/table/tbody/tr[1]"
Set valor = driver.FindElementByXPath(linha)
Código: Selecionar todos
Sub PegaHorariohhhhhhhhhh()
Dim driver As WebDriver
Dim valor As WebElement
Set driver = New ChromeDriver
driver.Get "https://www.academiadasapostasbrasil.com/stats/match/franca/ligue-1/olympique-de-marseille/nantes/3030803/"
linha = "//*[@id=""prelive""]/div[1]/table[3]/tbody/tr[2]/td[1]/table/tbody/tr[1]"
Set valor = driver.FindElementByXPath(linha)
Range("A10") = valor.Text
driver.Quit
Código: Selecionar todos
"//*[@id=""prelive""]/div[1]/table[3]/tbody/tr[2]/td[1]/table/tbody/tr[1]"
Código: Selecionar todos
linha = Range(A1).Value
Set valor = driver.FindElementByXPath(linha)