I am trying to copy the the chart from this webpage ( https://www.rosterresource.com/mlb-schedule-grid/) into a sheet in Excel. I've been using VBA with the Selenium reference to get to the webpage and try to find element by Xpath or ID, but I've having problems finding the chart. I think the chart I want to copy is in a different frame, but I'm unfamiliar with how to get to it properly.
Dim driver As Selenium.ChromeDriver
Set driver = New Selenium.ChromeDriver
Dim url As String
url = "https://www.rosterresource.com/mlb-schedule-grid/"
driver.Start "chrome", "https://www.google.com/"
driver.Wait 1000
driver.Get url
driver.Wait 5000
Element = driver.FindElementByXPath(???).Attribute("innerText") 'this is where I struggle
driver.Close
Range("a1").Value = Element