Class FormcycleFormBrowserHelper


  • public final class FormcycleFormBrowserHelper
    extends Object
    Static utility functions for interacting programmatically with formcycle forms opened in a browser.
    Since:
    8.0.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • waitForFormToFinishLoading

        public static void waitForFormToFinishLoading​(de.xima.e2e.test_harness_selenium.bot.api.ISeleniumBot bot)
        Waits for a formcycle form to finish loading. This method assumes that the current page of the given browser bot is a formcycle form, e.g. that you navigated to a URL like /form/provide/123/.
        Parameters:
        bot - Browser bot that controls the browser.
      • waitForFormToFinishLoading

        public static void waitForFormToFinishLoading​(com.codeborne.selenide.SelenideDriver driver)
        Waits for a formcycle form to finish loading. This method assumes that the current page of the given browser bot is a formcycle form, e.g. that you navigated to a URL like /form/provide/123/.
        Parameters:
        driver - The Selenide driver that controls the browser.