Selenium VBA bezgłowy chrom
Sub Demo_Test()
Dim driver As New ChromeDriver, post As Object
With driver
.AddArgument "--headless" ''This is the fix
.get "https://yts.am/browse-movies"
End With
For Each post In driver.FindElementsByClass("browse-movie-bottom")
r = r + 1: Cells(r, 1) = post.FindElementByClass("browse-movie-title").Text
Cells(r, 2) = post.FindElementByClass("browse-movie-year").Text
Next post
End Sub
Braxton Bell