def _double_click_element(self, element, **kwargs):
""" Double clicks on the provided element
:Arguments:
1. element = a valid WebElement
"""
status = True
print_info("Double click on element")
try:
browser_instance = kwargs.get('browser')
ActionChains(browser_instance).double_click(element)
except Exception as e:
print_error("An Exception Occurred {}".format(e))
status = False
return status
element_operations.py 文件源码
python
阅读 21
收藏 0
点赞 0
评论 0
评论列表
文章目录