Skip to content

Instantly share code, notes, and snippets.

@DominikDary
Created January 28, 2014 09:21
Show Gist options
  • Save DominikDary/8664538 to your computer and use it in GitHub Desktop.
Save DominikDary/8664538 to your computer and use it in GitHub Desktop.
from selenium import webdriver;
from selenium.webdriver.common.action_chains import ActionChains;
driver=webdriver.Remote(desired_capabilities={'aut': 'io.selendroid.testapp:0.8.0-SNAPSHOT','emulator':True}) ;
chain = ActionChains(driver);
""" Send search key, enter the text "Selendroid" and press the "Enter key" """
chain.send_keys(u'\ue103'+'Selendroid'+u'\ue007').perform();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment