zarif98sjs / PyWapp

Automate sending messages and images for whatsapp
4 stars 0 forks source link

StaleElementReferenceException at send_message and send_image #2

Open TomShare88 opened 2 years ago

TomShare88 commented 2 years ago

Hi Zarif,

When I ran send_message, I received NoSUchElementException at xpath='//div[@contenteditable="true"][@data-tab="9"]', I modified xpath='//div[@contenteditable="true"][@data-tab="10"], now, I received StaleElementReferenceException.

I ran send_image, I also received StaleElementReferenceException. Please see screenshots for both.

Python 3.9.7 Firefox 96.0 geckodriver 30.0 Whatsapp 2.2149.4 Mac 11.6.2 (Big Sur) Junyper Notebook

Thank you in advance

Tom

Screen Shot 2022-01-23 at 8 11 53 PM Screen Shot 2022-01-23 at 8 12 07 PM Screen Shot 2022-01-23 at 8 15 29 PM Screen Shot 2022-01-23 at 8 15 53 PM
zarif98sjs commented 2 years ago

I suppose WhatsApp has changed its web UI. I will have a look.

TomShare88 commented 2 years ago

Thank you Zarif. We appreciate your kindness!