Interface FluentPageControl

    • Method Detail

      • getUrl

        String getUrl()
        URL of the page It can contains mandatory parameters {param} and optional parameters {param1}
        Returns:
        page URL
      • getUrl

        String getUrl​(Object... parameters)
        URL of the page, after replacing parameters with given values.
        Parameters:
        parameters - parameter values
        Returns:
        Effective url generated for given parameter values
        Throws:
        IllegalArgumentException - if some required parameters are missing
      • isAt

        void isAt()
        Check if the browser is on this page.
      • isAt

        void isAt​(Object... parameters)
        Check if the browser is on this page, after replacing parameters with given values.
        Parameters:
        parameters - list of parameters
      • go

        <P extends FluentPage> P go()
        Go to the url defined in the page
        Returns:

        FluentPage object

      • go

        <P extends FluentPage> P go​(Object... params)
        Got to the url defined in the page, using given parameters.
        Parameters:
        params - page url parameter values
        Returns:

        FluentPage object

        Throws:
        IllegalArgumentException - if some required parameters are missing
      • parseUrl

        ParsedUrlTemplate parseUrl()
        Get the parameter values of page URL extracted from current URL.
        Returns:
        parameter values
      • parseUrl

        ParsedUrlTemplate parseUrl​(String url)
        Get the parameter values of page URL extracted from given URL.
        Parameters:
        url - url to parse
        Returns:
        parameter values