Kalebu / alright

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

send image button XPATH #146

Open dhiashahab opened 6 months ago

dhiashahab commented 6 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 5 months ago

still same issue for me ?

theCJMan commented 5 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..