javascript:(function(){$('#new_comment_field')[0].value='This is a question rather than an issue. Please send questions to the selenium user group\n\nFor issues please provide a concise reproducible test case and describe what results you are seeing and what results you expect.\n\nSee CONTRIBUTING.md';$('button[name="comment_and_close"]').click()})()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
@author: Dominik Dary | |
''' | |
import unittest | |
from selenium import webdriver | |
class FindElementTest(unittest.TestCase): | |
def setUp(self): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"desiredCapabilities":{ | |
"screenSize":"320x480", | |
"emulator":true, | |
"locale":"en_US", | |
"androidTarget":"ANDROID16", | |
"aut":"io.selendroid.testapp:0.4-SNAPSHOT" | |
} | |
} |
This document describes how to setup a repl for selendroid based on Python. It uses the Selenium Python bindings.
NewerOlder