File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
java/client/test/org/openqa/selenium Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 28
28
import static org .openqa .selenium .support .ui .ExpectedConditions .frameToBeAvailableAndSwitchToIt ;
29
29
import static org .openqa .selenium .support .ui .ExpectedConditions .not ;
30
30
import static org .openqa .selenium .support .ui .ExpectedConditions .presenceOfElementLocated ;
31
+ import static org .openqa .selenium .support .ui .ExpectedConditions .textToBe ;
31
32
import static org .openqa .selenium .support .ui .ExpectedConditions .titleIs ;
32
33
import static org .openqa .selenium .testing .Driver .CHROME ;
33
34
import static org .openqa .selenium .testing .Driver .HTMLUNIT ;
@@ -298,7 +299,7 @@ public void testShouldContinueToReferToTheSameFrameOnceItHasBeenSelected() {
298
299
// TODO(simon): this should not be needed, and is only here because IE's submit returns too
299
300
// soon.
300
301
301
- wait .until (WaitingConditions . elementTextToEqual (By .xpath ("//p" ), "Success!" ));
302
+ wait .until (textToBe (By .xpath ("//p" ), "Success!" ));
302
303
}
303
304
304
305
@ Test
You can’t perform that action at this time.
0 commit comments