from selenium import webdriver
import time
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
from selenium.webdriver.common.keys import Keys
binary = FirefoxBinary(r'C:\Program Files (x86)\Mozilla Firefox\firefox.exe') #location of firefox.exe
b = webdriver.Firefox(firefox_binary=binary)
b.get('http://w...content-available-to-author-only...p.com')
raw_input()
print("Success!!!")
elem = b.find_element_by_xpath('//span[contains(text(),"Name of group or your friend!")]') #modify here!
elem.click()
elem1 = b.find_elements_by_class_name('input')
while True:
elem1[1].send_keys('Message That you want to send!')
b.find_element_by_class_name('send-container').click()
ZnJvbSBzZWxlbml1bSBpbXBvcnQgd2ViZHJpdmVyCmltcG9ydCB0aW1lCmZyb20gc2VsZW5pdW0ud2ViZHJpdmVyLmZpcmVmb3guZmlyZWZveF9iaW5hcnkgaW1wb3J0IEZpcmVmb3hCaW5hcnkKZnJvbSBzZWxlbml1bS53ZWJkcml2ZXIuY29tbW9uLmtleXMgaW1wb3J0IEtleXMKCmJpbmFyeSA9IEZpcmVmb3hCaW5hcnkocidDOlxQcm9ncmFtIEZpbGVzICh4ODYpXE1vemlsbGEgRmlyZWZveFxmaXJlZm94LmV4ZScpICNsb2NhdGlvbiBvZiBmaXJlZm94LmV4ZQpiID0gd2ViZHJpdmVyLkZpcmVmb3goZmlyZWZveF9iaW5hcnk9YmluYXJ5KQoKYi5nZXQoJ2h0dHA6Ly93Li4uY29udGVudC1hdmFpbGFibGUtdG8tYXV0aG9yLW9ubHkuLi5wLmNvbScpCnJhd19pbnB1dCgpCnByaW50KCJTdWNjZXNzISEhIikKZWxlbSA9IGIuZmluZF9lbGVtZW50X2J5X3hwYXRoKCcvL3NwYW5bY29udGFpbnModGV4dCgpLCJOYW1lIG9mIGdyb3VwIG9yIHlvdXIgZnJpZW5kISIpXScpICNtb2RpZnkgaGVyZSEKZWxlbS5jbGljaygpCmVsZW0xID0gYi5maW5kX2VsZW1lbnRzX2J5X2NsYXNzX25hbWUoJ2lucHV0JykKd2hpbGUgVHJ1ZToKCWVsZW0xWzFdLnNlbmRfa2V5cygnTWVzc2FnZSBUaGF0IHlvdSB3YW50IHRvIHNlbmQhJykKCWIuZmluZF9lbGVtZW50X2J5X2NsYXNzX25hbWUoJ3NlbmQtY29udGFpbmVyJykuY2xpY2soKQo=