Class PageBuilder


  • public class PageBuilder
    extends java.lang.Object
    Builder for Page Objects.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T extends Page>
      T
      openAs​(T page)
      Sets up Selenide and opens the requested URL, allowing chaining additional operations over the given Page instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • openAs

        public <T extends Page> T openAs​(T page)
        Sets up Selenide and opens the requested URL, allowing chaining additional operations over the given Page instance.
        Parameters:
        page - Page instance, in order to allow chaining operations.
        Returns:
        Page instance given on the PageBuilder constructor.