Skip to content

Commit 818ab08

Browse files
author
heraclmene
committed
Change time back to 1 second
1 parent 44707e7 commit 818ab08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/hackernews/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func main() {
5151
// Wait until the URL has changed with a timeout of 1 second and a check
5252
// interval of 10ms..
5353
newLink := "https://news.ycombinator.com/newest"
54-
ok := driver.Wait(goselenium.UntilURLIs(newLink), 10*time.Second, 10*time.Millisecond)
54+
ok := driver.Wait(goselenium.UntilURLIs(newLink), 1*time.Second, 10*time.Millisecond)
5555
if !ok {
5656
fmt.Println("Wait timed out :<")
5757
return

0 commit comments

Comments
 (0)