The element as a Locator to check for distance.
The reference element to compare against.
Which side of the reference to measure the distance from.
Expected distance in pixels between the elements.
Optional distance options.
A Promise that resolves with the matcher result.
Asserts that the target element has a specific distance from another element on a given side.
DistanceSide.Top):DistanceSide.Bottom):DistanceSide.Left):DistanceSide.Right):