com.codeborne.selenide.appium.ScreenObject Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of selenide-appium Show documentation
Show all versions of selenide-appium Show documentation
Selenide = concise API for Selenium WebDriver
package com.codeborne.selenide.appium;
import static com.codeborne.selenide.Selenide.page;
public class ScreenObject {
/**
* Create a Page Object instance.
*/
public static PageObjectClass screen(Class pageObjectClass) {
return page(pageObjectClass);
}
/**
* Initialize a Page Object fields annotated with @FindBy, @AndroidFindBy, @iOSFindBy etc.
*/
public static PageObjectClass screen(T pageObject) {
return page(pageObject);
}
}