selenium delay

is_disappeared = WebDriverWait(drv, 30, 1,
                               ignored_exceptions=TimeoutException).\
 until(lambda x: x.find_element_by_id("leftSiteMapTree_58_span").is_displayed())
posted @ 2017-04-14 09:58  idlewith  阅读(137)  评论(0编辑  收藏  举报