Class BaseElement

    • Constructor Detail

      • BaseElement

        public BaseElement()
    • Method Detail

      • setContext

        public static void setContext​(PersistentTestContext context)
        Used so that AllTests can set the persistent test context.
      • getUtil

        protected static TestUtils getUtil()
        Returns:
        Utility class with functions not specific to any test or element.
      • waitForNotificationErrorMessage

        public void waitForNotificationErrorMessage​(String message)
        Since:
        3.2M3
      • waitForNotificationWarningMessage

        public void waitForNotificationWarningMessage​(String message)
        Since:
        3.2M3
      • waitForNotificationSuccessMessage

        public void waitForNotificationSuccessMessage​(String message)
        Since:
        3.2M3
      • waitForNotificationInProgressMessage

        public void waitForNotificationInProgressMessage​(String message)
        Since:
        11.3RC1
      • isElementVisible

        protected boolean isElementVisible​(org.openqa.selenium.By by)
        Since:
        8.4.5, 9.0RC1
      • waitUntilPageIsReady

        public void waitUntilPageIsReady()
        Wait until the page is ready for user interaction. The page is ready when there are no pending HTTP requests (e.g. to load resources or data) and no pending promises (e.g. no asynchronous code that waits to be executed).
        Since:
        14.2RC1