赞
踩
banner=driver.find_element_by_id('com.huawei.appmarket:id/banner_item_image')
ele_size=banner.size
#元素的高度和宽度
ele_height=ele_size['height']
ele_width=ele_size['width']
#获取元素左上角坐标
loc=banner.location
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。