File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/test/java/io/github/mfaisalkhatri/pages Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -53,9 +53,10 @@ public String pageHeader () {
53
53
}
54
54
55
55
public String passwordAlertMessage () {
56
+ Actions actions = new Actions (driver );
57
+ actions .moveToElement (footerField ()).build ().perform ();
56
58
WebElement warningMessage = wait .until (
57
59
ExpectedConditions .visibilityOfElementLocated (By .cssSelector ("div.alert" )));
58
- Actions actions = new Actions (driver );
59
60
actions .moveToElement (warningMessage )
60
61
.build ()
61
62
.perform ();
@@ -114,4 +115,8 @@ private WebElement streetField () {
114
115
return this .driver .findElement (By .id ("street" ));
115
116
}
116
117
118
+ private WebElement footerField () {
119
+ return this .driver .findElement (By .cssSelector ("app-footer p" ));
120
+ }
121
+
117
122
}
You can’t perform that action at this time.
0 commit comments