-
-
Notifications
You must be signed in to change notification settings - Fork 217
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
Can't Attach Any File #426
Comments
Hi @badarulaa, this error is caused because whatsapp changes their whatsapp-web HTML format after every few months. So the selector used in this software is older one. To fix this error we need to update the selectors. |
Well i see, so we need to search which one a new selector, right ? |
Yes, we need to inspect(ctrl + shift + i) on whatsapp-web and update the selectors in https://github.com/whatsplay/whatsapp-play/blob/master/wplay/utils/helpers.py |
Where can we attach the file of numbers |
Hello.
When i try running chat using terminal, and run command #_FILE, why always appear this problem
No node found for selector: #main > header > div > div > div > span > div > div > ul > li:nth-child(3) > button
File "/home/badar/GitHub/whatsapp-play/wplay/utils/io.py", line 52, in send_file
await page.click(whatsapp_selectors_dict['choose_file'])
File "/home/badar/GitHub/whatsapp-play/wplay/terminal_chat.py", line 86, in chat
await io.send_file(page)
File "/home/badar/GitHub/whatsapp-play/wplay/main.py", line 165, in get_and_match_args
await terminal_chat.chat(args.target)
File "/home/badar/GitHub/whatsapp-play/wplay/main.py", line 209, in main
await get_and_match_args(parser)
File "/home/badar/GitHub/whatsapp-play/wplay/main.py", line 216, in
asyncio.get_event_loop().run_until_complete(main())
thank you for advance
The text was updated successfully, but these errors were encountered: