You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The standard Rectangle class (org.openqa.selenium.Rectangle) lacks a toJson() method, which causes the serialization performed by the Json API to fall back to scanning for methods that look like JavaBean accessors to extract object properties. In addition to the methods that provide access to inherent properties (width, height, x, and y), the Rectangle class provides two methods that produce derived properties (dimension and point). Consequently, the JSON current returned for Rectangle objects includes these derived properties as well.
### Operating System
Irrelevant
### Selenium version
Java 4.21.0
### What are the browser(s) and version(s) where you see this issue?
None
### What are the browser driver(s) and version(s) where you see this issue?
None
### Are you using Selenium Grid?
Irrelevant
The text was updated successfully, but these errors were encountered:
@sbabcoc, thank you for creating this issue. We will troubleshoot it as soon as we can.
Info for maintainers
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template label.
If the issue is a question, add the I-question label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-* label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer label.
What happened?
The standard Rectangle class (
org.openqa.selenium.Rectangle
) lacks atoJson()
method, which causes the serialization performed by the Json API to fall back to scanning for methods that look like JavaBean accessors to extract object properties. In addition to the methods that provide access to inherent properties (width
,height
,x
, andy
), the Rectangle class provides two methods that produce derived properties (dimension
andpoint
). Consequently, the JSON current returned for Rectangle objects includes these derived properties as well.How can we reproduce the issue?
Relevant log output
The text was updated successfully, but these errors were encountered: