I need your help here.
As given below image, You will see the company search box in the image(Ex: Accenture). We are sending the company name through selenium. The name is being sent but when we are clicking on the first suggested name, It is not getting clicked.
I am working on the belw URL on linkedin: https://www.linkedin.com/jobs/search/?geoId=101165590&keywords=Machine%20learning&location=United%20Kingdom
I want to send company name by applying filter.
I tried below thinks.
company_button = WebDriverWait(driver,delay).until(EC.presence_of_element_located((By.XPATH,'//button[@aria-label="Company filter. Clicking this button displays all Company filter options."]')))
company_button.click()
time.sleep(2)
company_send = driver.find_element_by_xpath('//div[@class="search-basic-typeahead search-vertical-typeahead"]//input')
company_send.send_keys("Office Depot")
auto_complete = driver.find_elements_by_xpath(
"//li[@class='search-reusables__collection-values-item']")
auto_complete[0].click()
I need your help. Thanks in advance for your suggestion.
