File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 36
36
37
37
## whatsapp
38
38
39
- ### This program sends multiple messages to a user/group using python and selenium
39
+ ### This program sends multiple messages to a user/group using python, selenium and chrome
40
+
41
+ * If you use firefox you don't need to download chromedriver*
40
42
41
43
[ Get selenium] ( https://pypi.org/project/selenium/ )
42
44
Original file line number Diff line number Diff line change 11
11
input ('Enter anything after scanning QR code' )
12
12
13
13
user = driver .find_element_by_xpath ('//span[@title = "{}"]' .format (name ))
14
+ #this is to select the name of the user/group
14
15
user .click ()
15
16
16
- msg_box = driver .find_element_by_class_name ('_3uMse' )#this is to select the type message box
17
+ msg_box = driver .find_element_by_class_name ('_3uMse' )#this is to select the " type message" box
17
18
18
19
for i in range (count ):
19
20
msg_box .send_keys (msg )
20
- button = driver .find_element_by_class_name ('_1U1xa' )#this is to click the send button
21
+ button = driver .find_element_by_class_name ('_1U1xa' )#this is to click the " send" button
21
22
button .click ()
You can’t perform that action at this time.
0 commit comments