本文整理匯總了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')