#!/usr/bin/python
#-*- coding:utf-8 -*-
# from appium import webdriver
# from time import sleep
# import selenium.webdriver.support.ui as ui
#
#
# desired_caps={'platformName':'Android',
#               'deviceName':'127.0.0.1:62001',
#               'appPackage':'com.ss.android.article.news',
#               'appActivity':'.activity.SplashBadgeActivity'}
# driver=webdriver.Remote('http://localhost:4723/wd/hub',desired_caps)
#
# sleep(20)
# cc=driver.find_element_by_id('com.ss.android.article.news:id/av')
# sleep(2)
# sleep(4)
# driver.find_element_by_id('com.ss.android.article.news:id/c67').click()
# sleep(5)
# driver.find_element_by_id('com.ss.android.article.news:id/sh').click()
# sleep(5)
# driver.find_element_by_id('com.ss.android.article.news:id/s_').send_keys(18236549823)
# sleep(2)
# driver.find_element_by_id('com.ss.android.article.news:id/ro').send_keys('special1314...')
# sleep(2)
# driver.find_element_by_id('com.ss.android.article.news:id/rr').click()
# sleep(5)
# driver.quit()


