mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-20 19:20:04 +00:00
bug3529 Added page object for settings dialogs
This commit is contained in:
1 parent
7945985168
commit
58073ef828
1 file changed
+21
+21
@@ -0,0 +1,21 @@
|
||||
package com.sap.sailing.selenium.pages.common;
|
||||
|
||||
import org.openqa.selenium.WebDriver;
|
||||
import org.openqa.selenium.WebElement;
|
||||
|
||||
import com.sap.sailing.selenium.core.BySeleniumId;
|
||||
import com.sap.sailing.selenium.core.FindBy;
|
||||
|
||||
public class SettingsDialogPO extends DataEntryDialogPO {
|
||||
|
||||
@FindBy(how = BySeleniumId.class, using = "ShareAnchor")
|
||||
private WebElement shareAnchor;
|
||||
|
||||
public SettingsDialogPO(WebDriver driver, WebElement element) {
|
||||
super(driver, element);
|
||||
}
|
||||
|
||||
public void pressShareAnchor() {
|
||||
this.shareAnchor.click();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user