Return Point<int> from WebElement.location
`parseLocationResponse` already returns `Point<int>` so this makes it
a bit more precise. This will also help with Null Safety where some of
the implicit casts need to become explicit.
PiperOrigin-RevId: 322345497
diff --git a/lib/src/sync/web_element.dart b/lib/src/sync/web_element.dart
index 8bb82a9..ebe8840 100644
--- a/lib/src/sync/web_element.dart
+++ b/lib/src/sync/web_element.dart
@@ -127,7 +127,8 @@
///
/// This is assumed to be the upper left corner of the element, but its
/// implementation is not well defined in the JSON spec.
- Point get location => _client.send(_handler.element.buildLocationRequest(id),
+ Point<int> get location => _client.send(
+ _handler.element.buildLocationRequest(id),
_handler.element.parseLocationResponse);
/// The size of this element.