Hope this is not an existing issue.
I also have no such element exception error.
It seems like others got through the review extracting steps, but mine didn't. Can anyone help me with this? what should I do to fix this error?
Configuring browser
Scrapting up to 1000
Signing in
Navigating to company
Traceback (most recent call last):
File "main.py", line 462, in
main()
File "main.py", line 427, in main
reviews_exist = navigate_to_reviews()
File "main.py", line 350, in navigate_to_reviews
"//[@id='EmpLinksWrapper']/div//a[2]")
File "//anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 394, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "//anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 978, in find_element
'value': value})['value']
File "//anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "//anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//[@id='EmpLinksWrapper']/div//a[2]"}
(Session info: headless chrome=76.0.3809.87)
Hope this is not an existing issue. I also have no such element exception error. It seems like others got through the review extracting steps, but mine didn't. Can anyone help me with this? what should I do to fix this error?
Configuring browser Scrapting up to 1000 Signing in Navigating to company Traceback (most recent call last): File "main.py", line 462, in
main()
File "main.py", line 427, in main
reviews_exist = navigate_to_reviews()
File "main.py", line 350, in navigate_to_reviews
"//[@id='EmpLinksWrapper']/div//a[2]")
File "//anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 394, in find_element_by_xpath
return self.find_element(by=By.XPATH, value=xpath)
File "//anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 978, in find_element
'value': value})['value']
File "//anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "//anaconda3/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"xpath","selector":"//[@id='EmpLinksWrapper']/div//a[2]"}
(Session info: headless chrome=76.0.3809.87)