Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send image button XPATH #146

Open
dhiashahab opened this issue Dec 31, 2023 · 2 comments
Open

send image button XPATH #146

dhiashahab opened this issue Dec 31, 2023 · 2 comments

Comments

@dhiashahab
Copy link

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'

@dhiashahab dhiashahab changed the title send attachment button XPATH send image button XPATH Dec 31, 2023
@TeamGrowai
Copy link

still same issue for me ?

@theCJMan
Copy link
Contributor

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants