Kalebu / alright

Python wrapper for WhatsApp web-based on selenium
https://www.youtube.com/watch?v=yitQTt-NukM
MIT License
376 stars 113 forks source link

send image button XPATH #146

Open dhiashahab opened 11 months ago

dhiashahab commented 11 months ago

https://github.com/Kalebu/alright/blob/b7a1d257fa8c830ed4d026c67196537b6f57451b/alright/__init__.py#L528C26-L528C27

this XPATH work for me: '//*[@id="app"]/div/div[2]/div[2]/div[2]/span/div/span/div/div/div[2]/div/div[2]/div[2]/div/div/span'

TeamGrowai commented 10 months ago

still same issue for me ?

theCJMan commented 10 months ago

Yes, every now and then WhatsApp changes things.. You then need to (Google Chrome) press F12 to get development mode in Google Chrome, then right clikc on the element you want to Inspect.. Then on the developer pane, you need to make sure you are on the correct element, and right clikc, then copy, then select xPath or Full xPath...

Then you update your own code to make it work again.

This is a continious item so best is if you fix it your self..