shauryauppal / PyWhatsapp

Python Automation using selenium & Scheduling of messages and media
https://www.linkedin.com/in/shaurya-uppal
Apache License 2.0
465 stars 159 forks source link

error when selenium driver trying to clock the contact #2

Closed fumimuse closed 6 years ago

fumimuse commented 6 years ago

hi i get is not clickable at point error, when the driver tried to click the name of contact on whatsapp account . is there anyone having this issue ?

shauryauppal commented 6 years ago

@fumimuse In the Contact list make changes as mentioned in the README Either you hardcode the contacts of your whatsapp or take as input at run time.

If still the error exist do comment.

shauryauppal commented 6 years ago

@fumimuse def input_contacts(): global Contact

Change it according to you.

Contact = ['"Shaurya"', '"Shaurya new"']
n = int(input('Enter number of Contacts to add->'))
for i in range(0,n):
    inp = str(input("Enter contact name->"))
    inp = '"' + inp + '"'
    # print (inp)
    Contact.append(inp)
# Print the new Contact list after additional input contacts
print(Contact)
print('')

Set the Contact = ['"Name in your whatsapp contact"']

shauryauppal commented 6 years ago

@fumimuse Status update? Issue solved?