xiaobei_selenium_automation/page/wms_pages/wms_elements.py

29 lines
590 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from page.basePage import *
"""
-------------------------------------------------
File Name
Description :
Author : xiaobei
CreateDate
wechatxiaobei_upup
-------------------------------------------------
"""
"""
在平时中我们应该养成写注释的习惯,因为过一段时间后,没有注释,代码读起来很费劲。
"""
class WmsElements(PageObject):
# input_account = find_elements(By.CLASS_NAME, "el-input__inner")
@property
def click_log_in_button(self):
"""点击搜索"""
return self.log_in_button.click()