Tithibots / tithiwa

Automate Web WhatsApp with selenium in python.
MIT License
24 stars 22 forks source link

Create clear_all_chats() in Tithiwa class to clear all chats #25

Closed NavpreetDevpuri closed 3 years ago

NavpreetDevpuri commented 4 years ago

similar to https://github.com/Tithibots/tithiwa/issues/23 and https://github.com/Tithibots/tithiwa/issues/24

NavpreetDevpuri commented 4 years ago

https://github.com/Tithibots/tithiwa/blob/7cef0e13b6ab6f8050060bb3cbaad0f59f79c19e/tithiwa/group.py#L113-L130

That's how we can go through all chats

NavpreetDevpuri commented 4 years ago

ShareX_bge3iVVLh8

NavpreetDevpuri commented 4 years ago
  1. go through all group chats same as in exit_from_all_groups()
  2. open group options using CHATROOM__OPTIONS
  3. press on Clear chat and wait for the chat to be cleared by using self._close_info()
ghostrider22 commented 3 years ago

Sir, I would like to do this task. Please assign this issue to me.