public final class StyleUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isHidden(com.atlassian.pageobjects.elements.PageElement element)
Determines if an element is hidden using an inline "display: none;" declaration.
|
static boolean |
isVisible(com.atlassian.pageobjects.elements.PageElement element)
Determines if an element wasn't hidden using an inline "display: none;" declaration.
|
public static boolean isHidden(com.atlassian.pageobjects.elements.PageElement element)
PageElement.isVisible()
if possible as isVisible tries to determine if the element is visible to the end user which can be flakyelement - the element which should have its visibility ascertainedpublic static boolean isVisible(com.atlassian.pageobjects.elements.PageElement element)
element - the element which should have its visibility ascertainedCopyright © 2024 Atlassian. All rights reserved.