Closed pyvelkov closed 3 years ago
Hello sorry, something happened while I was cleaning up the comments and I guess I removed the correct selector. it is fixed now.
you are doing very well! 👏
@pyvelkov I noticed now, some old CSS selector not working now
I think Whatsapp changed CSS class names. So need to find better selectors. for example span[data-testid="default-user"]
instead of following
https://github.com/Tithibots/tithiwa/blob/feddb56cf43564b55b704024c383485d3cd308e9/tithiwa/constants.py#L59
I added a remove admin function. It is similar to Make admin. however you click on participants and click on make group admin whoever you passed to be admin. Gets selector and clicks it. It works on my end.
EDIT* This fixes #48