Here is the links I am working on :
https://www.formula1.com/en/results.html/2017/drivers.html
Im trying to retrieve all the names under Driver column.
Following is the css selector Im using in code
dname = name.find_element_by_css_selector('span.hide-for-mobile').text
Testing the code in css selector plugins.See the screenshot 
Below is the code:
from selenium import webdriver
import os
import csv
chromeDriver = "/home/manoj/workspace2/RedTools/test/chromedriver"
os.environ["webdriver.chrome.driver"] = chromeDriver
driver = webdriver.Chrome(chromeDriver)
driver.get("https://www.formula1.com/en/results.html/2017/drivers.html")
driverNames = driver.find_elements_by_xpath("//th[contains(.,'Driver')]")
for name in driverNames:
dname = name.find_element_by_css_selector('span.hide-for-mobile').text
print(dname)
print('its done')
The Error Im getting at this moment is:
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"css selector","selector":"span.hide-for-mobile"}
What is that im doing incorrect. Help here would greatly appreciated.