-
Notifications
You must be signed in to change notification settings - Fork 271
Description
Hello,
What version of python must I use?
when I use python 3.9 I get the following errors
working...
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/home/john.vanlit/Desktop/btbnc/new_listings_scraper.py", line 69, in search_and_update
latest_coin = get_last_coin()
File "/home/john.vanlit/Desktop/btbnc/new_listings_scraper.py", line 23, in get_last_coin
latest_announcement = driver.find_element(By.ID, 'link-0-0-p1')
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 1012, in find_element
return self.execute(Command.FIND_ELEMENT, {
File "/usr/lib/python3/dist-packages/selenium/webdriver/remote/webdriver.py", line 318, in execute
self.error_handler.check_response(response)
File "/usr/lib/python3/dist-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":"css selector","selector":"[id="link-0-0-p1"]"}
(Session info: headless chrome=96.0.4664.45)
Thanks for the advice