Update element.py: box_model, size, location, rect, get_attribute, is_displayed, is_enabled, is_selected, is_clickable
Example:
- box_model: `BoxModel(content=Quad([202, 679.234375, 710, 679.234375, 710, 700.703125, 202, 700.703125]), padding=Quad([189, 669.234375, 723, 669.234375, 723, 710.703125, 189, 710.703125]), border=Quad([188, 668.234375, 724, 668.234375, 724, 711.703125, 188, 711.703125]), margin=Quad([188, 668.234375, 724, 668.234375, 724, 711.703125, 188, 711.703125]), width=536, height=43, shape_outside=None) `
- size `{'height': 43, 'width': 536}`
- location: `{'x': 202, 'y': 679.234375}`
- rect: `{'top_left': {'x': 202, 'y': 679.234375}, 'bottom_right': {'x': 710, 'y': 700.703125}, 'width': 536, 'height': 43}`
- get_attribute: `gameUserId3`
- is_displayed: `True`
- is_enabled: `True`
- is_selected: `False`
- is_clickable: `True`
合并状态:未合并 4 条评论