SQUIDD
Well-known Member
- Joined
- Jan 2, 2009
- Messages
- 2,126
- Office Version
- 2019
- 2016
- Platform
- Windows
Hi
So trying to use Selenium.ChromeDriver to simply get the name of the greyhound "Closed Door" from the page below.
Just cannot work it out. Any help here would be great.
Greyhound Bet | Greyhound Betting Web App from the Racing Post
So trying to use Selenium.ChromeDriver to simply get the name of the greyhound "Closed Door" from the page below.
Just cannot work it out. Any help here would be great.
Greyhound Bet | Greyhound Betting Web App from the Racing Post
VBA Code:
Sub OPEN_BROWSER()
Set MYBROWSER = New Selenium.ChromeDriver
MYBROWSER.Start
MYBROWSER.Get "https://greyhoundbet.racingpost.com/#results-dog/race_id=1850305&dog_id=548599&r_date=2021-08-04&track_id=1&r_time=10:53"
b = MYBROWSER.FindElementsByClass("ghName").Text
c = MYBROWSER.FindElementsByClass("c4")(2).Text 'example that gets data from the table
'MYBROWSER.Close
End Sub