Skip to content

Instantly share code, notes, and snippets.

@abelsonlive
Last active December 29, 2015 05:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save abelsonlive/7622513 to your computer and use it in GitHub Desktop.
Save abelsonlive/7622513 to your computer and use it in GitHub Desktop.
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
b = webdriver.Chrome()
b.get("http://chat.meatspac.es")
chat = b.find_element_by_id('add-chat')
chat.send_keys("I just meatsted with python")
chat.send_keys(Keys.RETURN)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment