RemoteAppDriverTest.py 文件源码

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

项目:simphony-remote 作者: simphony 项目源码 文件源码
def type_text_in_element_located(self, how, what, text):
        """ Type text into an located element.
        Parameters
        ----------
        how: String
            How you want to locate the element. See selenium.webdriver.common.by
        what: String
            What you want to locate.
        text: String
            The text that you want to type in the element

        Example:
        --------
            type_text_in_element_located(By.TAG_NAME, "input", "Hello World!")
        """
        element = self.wait_until_clickability_of_element_located(how, what)
        element.clear()
        element.send_keys(text)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号