The element as a Locator to check for horizontal alignment.
The container element as a Locator relative to which horizontal alignment is checked.
The type of horizontal alignment to check (left, center, or right).
Optional alignment options.
A Promise that resolves with the matcher result.
Asserts that the target element is horizontally aligned with the specified container according to the given alignment type.
HorizontalAlignment.Left):HorizontalAlignment.Center):HorizontalAlignment.Right):