RemoteAppDriverTest.py 文件源码

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

项目:simphony-remote 作者: simphony 项目源码 文件源码
def wait_until_clickability_of_element_located(self, how, what):
        """ Wait until an element is clickable, which means that it's visible,
        enabled and nothing is above this element.
        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_clickability_of_element_located(By.TAG_NAME, "button")
        button.click()
        """
        return self.wait.until(EC.element_to_be_clickable((how, what)))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号