Certain inline elements and partially visible elements become unclickable when their bounding box center is not accessible for click.
Case 1 : Inline elements:
When an element is inline (e.g., a paragraph that begins on one line and ends on the next line, with no text in the middle), the center of its bounding box might fall in an empty area. In such cases, clicking the element becomes problematic, as the center point is not a clickable area.
Case 2 : Partially visible elements:
When an element is partially visible (e.g. covered by something else), but one of its corners remains clickable.
To handle that, we should
update the JS_GET_INTERACTIVES_IN_VIEWPORT method to check for center and 4 corners
update the Selenium click action to try the center then 4 corner positions when a captured click exception is raised
Certain inline elements and partially visible elements become unclickable when their bounding box center is not accessible for click.
Case 1 : Inline elements:
When an element is inline (e.g., a paragraph that begins on one line and ends on the next line, with no text in the middle), the center of its bounding box might fall in an empty area. In such cases, clicking the element becomes problematic, as the center point is not a clickable area.
Case 2 : Partially visible elements:
When an element is partially visible (e.g. covered by something else), but one of its corners remains clickable.
To handle that, we should