Assistance with scraping in selenium

For the newer Selenium version it is advised to use

driver.find_element(By.XPATH, "//*[text()='Fantasy Score']").click()