RemoteAppDriverTest.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:simphony-remote 作者: simphony 项目源码 文件源码
def wait_until_visibility_of_element_located(self, how, what):
        """ Wait until a located element is visible, which means that it's rendered and
        the CSS display style is not "none".
        Parameters
        ----------
        how: String
            How you want to locate the element. See selenium.webdriver.common.by
        what: String
            What you want to locate.

        Returns:
        --------
        element:
            The element founded

        Example:
        --------
        button = wait_until_visibility_of_element_located(By.TAG_NAME, "button")
        """
        return self.wait.until(EC.visibility_of_element_located((how, what)))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号