I am trying a basic job search on Linked using Selenium WebDriver.
import pandas as pd
import numpy as np
import time
from time import sleep
import sys
import re
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
sys.path.insert(0,'/usr/lib/chromium-browser/chromedriver')
from selenium.webdriver.common.by import By
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument('--no-sandbox')
chrome_options.add_argument('--headless')
chrome_options.add_argument('--disable-dev-shm-usage')
driver = webdriver.Chrome('chromedriver',options=chrome_options)
driver.get("https://www.linkedin.com/")
driver.find_element(By.CLASS_NAME, "location")
However, when I want to click on the Location textbox, I get the below error which suggests that the 'location' element is not recognised:
NoSuchElementException Traceback (most recent call last)
<ipython-input-14-b35ab70105df> in <module>
1 driver.get("https://www.linkedin.com/")
----> 2 driver.find_element(By.CLASS_NAME, "location")
I inspect the page and as shown on the attached screenshot the Location textbox has the 'location' element. 
Can somebody please assist me on what I am doing wrong?