_element.py 文件源码

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

项目:robotframework-weblibrary 作者: Netease-AutoTest 项目源码 文件源码
def mouse_up(self, locator):
        """Simulates releasing the left mouse button on the element specified by `locator`.

        Key attributes for arbitrary elements are `id` and `name`. See
        `introduction` for details about locating elements.
        """
        self._info("Simulating Mouse Up on element '%s'" % locator)
        element = self._element_find(locator, True, False)
        if element is None:
            raise AssertionError("ERROR: Element %s not found." % (locator))
        ActionChains(self._current_browser()).release(element).perform()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号