I have had issues finding the correct Xpath for selenium for the facebook messenger text box (the Type a message, @name
box)...
Trying to automate a Facebook chat feature. I have tried using by_xpath
, by_id
, by_name_class
, etc.. and nothing seems to work.
text_box = driver.find_element_by_xpath('//*[@id="js_m"]/div/div[1]').click()
text_box.send_keys(msg)
Here is the error message:
Other Element would receive the click:
<div class ="_3ixn"></div>"