getBoundingClientRect method

  1. @override
Rectangle<num> getBoundingClientRect()
override

The smallest bounding rectangle that encompasses this element's padding, scrollbar, and border.

WebDriver only.

Implementation

@override
Rectangle getBoundingClientRect() =>
    _retryWhenStale(() => _single.getBoundingClientRect());