Skip to content

Commit

Permalink
debug: print timestamps
Browse files Browse the repository at this point in the history
* Want to confirm that Selenium is waiting 5 seconds
  • Loading branch information
swalchemist committed Oct 27, 2023
1 parent da20c4a commit 9d280b1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package org.cloudfoundry.identity.uaa.integration.pageObjects;

import java.util.Date;

import org.openqa.selenium.WebDriver;

import static org.hamcrest.Matchers.containsString;
Expand All @@ -9,7 +11,9 @@ public class DnsErrorPage extends Page {

public DnsErrorPage(WebDriver driver) {
super(driver);
System.out.println("DnsErrorPage A: " + new Date());
validatePageSource(driver, containsString("This site can’t be reached"));
System.out.println("DnsErrorPage B: " + new Date());
}
}

0 comments on commit 9d280b1

Please sign in to comment.