I did upgrade the chrome to the latest version and I was still encountering the error element not interactable at the same time I came to realize the method check_if_given_chat_has_unread_messages was not working for me and so I tried to give a deeper look and did a bit of refactoring to the code to make both methods work.
>>> from alright import WhatsApp
>>> messenger = WhatsApp()
====== WebDriver manager ======
Current google-chrome version is 102.0.5005
Get LATEST driver version for 102.0.5005
Driver [/home/kalebu/.wdm/drivers/chromedriver/linux64/102.0.5005.61/chromedriver] found in cache
>>> unread_chats = messenger.fetch_all_unread_chats(top=100)
2022-06-19 15:16:48,852 - root -- [INFO] >> The counter value at this chunk is: 17.
2022-06-19 15:16:49,598 - root -- [INFO] >> The counter value at this chunk is: 23.
2022-06-19 15:16:50,352 - root -- [INFO] >> The counter value at this chunk is: 36.
2022-06-19 15:16:51,080 - root -- [INFO] >> The counter value at this chunk is: 49.
2022-06-19 15:16:51,829 - root -- [INFO] >> The counter value at this chunk is: 61.
2022-06-19 15:16:52,528 - root -- [INFO] >> The counter value at this chunk is: 74.
2022-06-19 15:16:53,254 - root -- [INFO] >> The counter value at this chunk is: 86.
2022-06-19 15:16:53,986 - root -- [INFO] >> The counter value at this chunk is: 98.
2022-06-19 15:16:54,774 - root -- [INFO] >> The list of unread chats, considering the first 112 messages, is: ['Prosper Shoket - Pay', 'Adanian Tz Community', 'BlockChain Devs TZ', 'godblessminja', 'UDOM AI COMMUNITY', 'BUNI COMMUNITY'].
Please have deeper look to see if this only runs on my machine or It really does solve the issue
I did upgrade the chrome to the latest version and I was still encountering the error
element not interactable
at the same time I came to realize the methodcheck_if_given_chat_has_unread_messages
was not working for me and so I tried to give a deeper look and did a bit of refactoring to the code to make both methods work.Please have deeper look to see if this only runs on my machine or It really does solve the issue
Thanks, Kalebu @euriconicacio