* Returns an object describing an element's location, in pixels relative to * the document element, and the element's size in pixels. * * @return {!Promise<{width: number, height: number, x: number, y: number}>} * A promise that will resolve with the element's rect.
()
| 3082 | * A promise that will resolve with the element's rect. |
| 3083 | */ |
| 3084 | getRect() { |
| 3085 | return this.execute_(new command.Command(command.Name.GET_ELEMENT_RECT)) |
| 3086 | } |
| 3087 | |
| 3088 | /** |
| 3089 | * Tests whether this element is enabled, as dictated by the `disabled` |