Created
August 5, 2016 11:12
-
-
Save ham1/0d9a0f75cc05ba1bdb0cec8d51a2f32c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.frameworkium.core.ui.annotations.Visible; | |
import com.frameworkium.core.ui.pages.BasePage; | |
import org.openqa.selenium.WebElement; | |
public abstract class AbstractSomethingPage<T extends BasePage<T>> extends BasePage<T> { | |
@Visible | |
private WebElement foo; | |
public void doSomething() { | |
foo.clear(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This can be used to better organise PageObjects which share common features but are also different.
To use this, do something like: