The element as a Locator to check for alignment.
The container element as a Locator relative to which alignment is checked.
The axis along which to check alignment (horizontal or vertical).
The alignment mode to check (start, center, or end).
Optional alignment options.
A Promise that resolves with the matcher result.
Asserts that the target element is aligned with the specified container element based on the provided axis and alignment mode, considering an optional tolerance percentage.