_element.py 文件源码

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

项目:robotframework-weblibrary 作者: Netease-AutoTest 项目源码 文件源码
def mouse_down_on_image(self, locator):
        """Simulates a mouse down event on an image.

        Key attributes for images are `id`, `src` and `alt`. See
        `introduction` for details about locating elements.
        """
        element = self._element_find(locator, True, True, 'image')
        ActionChains(self._current_browser()).click_and_hold(element).perform()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号