From 087d852b2166500aa46dfe3231a94e312b431a34 Mon Sep 17 00:00:00 2001 From: ayushpadia1999 <67371533+ayushpadia1999@users.noreply.github.com> Date: Fri, 2 Oct 2020 06:42:39 +0530 Subject: [PATCH] Update whatsapp_attachment.py Web whatsapp changed the name of the data icon from send-light to send . Made the necessary changes for the code to work and resolved send-light element not found error . --- Whatsapp Automation/whatsapp_attachment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Whatsapp Automation/whatsapp_attachment.py b/Whatsapp Automation/whatsapp_attachment.py index 030c907..7297615 100644 --- a/Whatsapp Automation/whatsapp_attachment.py +++ b/Whatsapp Automation/whatsapp_attachment.py @@ -21,5 +21,5 @@ sleep(3) -send_button = driver.find_element_by_xpath('//span[@data-icon="send-light"]') +send_button = driver.find_element_by_xpath('//span[@data-icon="send"]') send_button.click()