本文整理汇总了Python中pageobjects.base.PageObject.long_wait_element方法的典型用法代码示例。如果您正苦于以下问题:Python PageObject.long_wait_element方法的具体用法?Python PageObject.long_wait_element怎么用?Python PageObject.long_wait_element使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类pageobjects.base.PageObject
的用法示例。
在下文中一共展示了PageObject.long_wait_element方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: reset_env
# 需要导入模块: from pageobjects.base import PageObject [as 别名]
# 或者: from pageobjects.base.PageObject import long_wait_element [as 别名]
def reset_env(cls):
PageObject.click_element(Actions(), 'reset')
PageObject.wait_element(Actions(), 'reset_popup')
time.sleep(2)
PageObject.click_element(Actions(), 'reset_popup')
PageObject.click_element(Tabs(), 'nodes')
PageObject.long_wait_element(Actions(), 'pending_nodes')
示例2: stop_deploy_process
# 需要导入模块: from pageobjects.base import PageObject [as 别名]
# 或者: from pageobjects.base.PageObject import long_wait_element [as 别名]
def stop_deploy_process(cls):
PageObject.click_element(Actions(), 'stop_deploy')
Actions().stop_deploy_popup.click()
PageObject.long_wait_element(Actions(), 'pending_nodes')
示例3: reset_env
# 需要导入模块: from pageobjects.base import PageObject [as 别名]
# 或者: from pageobjects.base.PageObject import long_wait_element [as 别名]
def reset_env(cls):
PageObject.click_element(Actions(), 'reset')
Actions().reset_popup.click()
PageObject.long_wait_element(Actions(), 'pending_nodes')
示例4: stop_deploy_process
# 需要导入模块: from pageobjects.base import PageObject [as 别名]
# 或者: from pageobjects.base.PageObject import long_wait_element [as 别名]
def stop_deploy_process(cls):
PageObject.click_element(Actions(), 'stop_deploy')
PageObject.wait_element(Actions, "stop_deploy_popup")
PageObject.click_element(Actions(), 'stop_deploy_popup')
PageObject.click_element(Tabs(), 'nodes')
PageObject.long_wait_element(Actions(), 'pending_nodes')