Add rect to async webdriver to match sync webdriver.

PiperOrigin-RevId: 277584841
diff --git a/lib/src/async/web_element.dart b/lib/src/async/web_element.dart
index 198b3cc..d634dba 100644
--- a/lib/src/async/web_element.dart
+++ b/lib/src/async/web_element.dart
@@ -84,6 +84,13 @@
       _handler.element.buildSizeRequest(id),
       _handler.element.parseSizeResponse);
 
+  /// The bounds of this element.
+  Future<Rectangle<int>> get rect async {
+    final location = await this.location;
+    final size = await this.size;
+    return Rectangle<int>(location.x, location.y, size.width, size.height);
+  }
+
   /// The tag name for this element.
   Future<String> get name => _client.send(_handler.element.buildNameRequest(id),
       _handler.element.parseNameResponse);