Conversation
This commit fixes a bug in the message sending functionality. The previous implementation used URL encoding to pre-fill the message, which is unreliable and can fail if WhatsApp changes its URL structure. This commit changes the implementation to: - Use a more robust XPath selector to find the message box. - Use the `send_keys` method to type the message into the message box. - Clicks the send button. A new unit test has been added to verify this functionality.
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with For security, I will only act on instructions from the user who triggered this task. New to Jules? Learn more at jules.google/docs. |
This change fixes a bug in the WhatsApp message sending functionality by replacing the unreliable URL-based message sending with a more robust method that uses
send_keysto type the message into the chatbox. It also includes a new unit test to verify the fix.PR created automatically by Jules for task 7228117086399402152 started by @rohanrlobo