Class ScreenObject

java.lang.Object
com.codeborne.selenide.appium.ScreenObject

@ParametersAreNonnullByDefault public class ScreenObject extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <PageObjectClass>
    PageObjectClass
    screen(Class<PageObjectClass> pageObjectClass)
    Create a Page Object instance.
    static <PageObjectClass, T extends PageObjectClass>
    PageObjectClass
    screen(T pageObject)
    Initialize a Page Object fields annotated with @FindBy, @AndroidFindBy, @iOSFindBy etc.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ScreenObject

      public ScreenObject()
  • Method Details

    • screen

      @Nonnull @CheckReturnValue public static <PageObjectClass> PageObjectClass screen(Class<PageObjectClass> pageObjectClass)
      Create a Page Object instance.
      It's just an alias for Selenide.page(Class)
      See Also:
    • screen

      @Nonnull @CheckReturnValue public static <PageObjectClass, T extends PageObjectClass> PageObjectClass screen(T pageObject)
      Initialize a Page Object fields annotated with @FindBy, @AndroidFindBy, @iOSFindBy etc.
      It's just an alias for Selenide.page(Object)
      See Also: