-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
bugSomething isn't workingSomething isn't working
Description
- I ran into this issue on Windows as well as osx
- My chrome version is
89.0.4389.82
- Python version :
Python 3.8.2
- Here is the trace:
❯ python3 whatsoup.py
Success! WhatsApp finished loading and is ready.
Traceback (most recent call last):
File "whatsoup.py", line 1099, in <module>
main()
File "whatsoup.py", line 30, in main
chats = get_chats(driver)
File "whatsoup.py", line 212, in get_chats
last_chat_msg = last_chat_msg_element.find_element_by_tag_name(
File "/Users/xxx/opt/WhatSoup/env/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 305, in find_element_by_tag_name
return self.find_element(by=By.TAG_NAME, value=name)
File "/Users/xxx/opt/WhatSoup/env/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 658, in find_element
return self._execute(Command.FIND_CHILD_ELEMENT,
File "/Users/xxx/opt/WhatSoup/env/lib/python3.8/site-packages/selenium/webdriver/remote/webelement.py", line 633, in _execute
return self._parent.execute(command, params)
File "/Users/xxx/opt/WhatSoup/env/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/Users/xxx/opt/WhatSoup/env/lib/python3.8/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":"css selector","selector":"span"}
(Session info: chrome=89.0.4389.82)
The script opens chrome and starts going through messages and crashes randomly at different messages.
Language is set to english
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working