#-*- coding:utf8 -*-
# 作者 yanchunhuo
# 创建时间 2018/01/19 22:36
# github https://github.com/yanchunhuo
from page_objects.createElement import CreateElement
from page_objects.app_ui.wait_type import Wait_Type as Wait_By
from page_objects.app_ui.locator_type import Locator_Type
class StartPageElements:
    def __init__(self):
        self.start_btn = CreateElement.create(Locator_Type.ID, 'com.moji.mjweather:id/zc', wait_type=Wait_By.VISIBILITY_OF)
        self.search_city = CreateElement.create(Locator_Type.ID, 'com.moji.mjweather:id/d', wait_type=Wait_By.VISIBILITY_OF)
        self.city_btns = CreateElement.create(Locator_Type.ID,'com.moji.mjweather:id/abk',wait_type=Wait_By.VISIBILITY_OF)
