public void auto_verifyVisibilities(String... locators) {
for (String locator : locators) {
auto_waitForElementVisibility(locator);
softAssertions.assertThat(page.locator(locator).isVisible()).as("Element is not displayed").isTrue();
}
softAssertions.assertAll();
}
public void auto_verifyVisibilities(String locatorList) {
auto_waitForElementsVisibilities(locatorList);
List<ElementHandle> elements = page.locator(locatorList).elementHandles();
for (ElementHandle element : elements) {
softAssertions.assertThat(element.isVisible()).as("Element is not displayed");
}
softAssertions.assertAll();
}
Popular Search autoautsettextttr