Sending multiple messages using python in facebook

I can not find a way to send multiple messages using this script, please check this code …

for i in the range (5):
Sleep (0.01)
status = driver.find_element_by_xpath ("// text box[@name='xhpc_message']")
print ("Status in progress")
buttons = driver.find_elements_by_tag_name (& # 39; button & # 39;)
for button in the buttons:
if button.text == & nbsp; Share
button.click ()