Skip to content

Commit d50bcc8

Browse files
committed
Update BenchmarkRunner.java
Make the sleeps take a bit longer for slower computers.
1 parent 49f9cd6 commit d50bcc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/owasp/benchmark/tools/BenchmarkRunner.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,10 @@ public static void visitTestCases( AtomicInteger nextTest, int tests ) {
6666

6767
// reload page, and if there's a javascript button, click that
6868
driver.get(url);
69-
Thread.sleep(100);
69+
Thread.sleep(500);
7070
String jQuerySelector = "#login-btn";
7171
js.executeScript("$(\"" + jQuerySelector + "\").click();");
72-
Thread.sleep(100);
72+
Thread.sleep(500);
7373
} catch (Exception e) {
7474
// This is expected since many pages do not have the jquery button
7575
// System.err.println(" -> ERROR: " + e.getMessage());

0 commit comments

Comments
 (0)