// Element is strictly below reference (no overlap, no tolerance) awaitexpect(content).toBeBelow(header);
Example
// Element can overlap reference by up to 10px awaitexpect(subtitle).toBeBelow(title, { tolerance:10, toleranceUnit:ToleranceUnit.Pixels });
Example
// Element can overlap reference by up to 5% of reference height awaitexpect(text).toBeBelow(icon, { tolerance:5, toleranceUnit:ToleranceUnit.Percent });
Asserts that an element is positioned below another element.
The element passes if its top edge is at or below the bottom edge of the reference, within the specified tolerance.