I am searching contacts through phone number and sending message in whatsapp using python selenium.
But i am not able to find the name, when I input in the search using send keys, it is getting deleted, when it goes to next element.
I want to know how to use alternate driver.executescript
or where the attribute searched stays, and I can find the name of that .
v_elem=driver.find_element_by_class_name('_3u328')
v_elem.send_keys(phone))
driver.find_element_by_css_selector('span[class="_19RFN _1ovWX _F7Vk"]').click()
When the script send keys, it deletes before finding the next css .. as that is where the name of the number exist. How to find this.