I successfully automated logging in to linkedin, but I have not been able to successfully interact with the search bar. I keep getting "'list' object has no attribute 'click'". My code is copied below. I tried skipping the click method to see if I could pass information into the searchbar object, but that yielded the same error. The xpath is directly copied from chrome developer tools.
def linkedin_search():
searchbar = driver.find_elements_by_xpath('//*[@id="ember41"]/input')
searchbar.click()
searchbar.send_keys("Real Estate Investor")
searchbar.send_keys(Keys.ENTER)
linkedin_search()