Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 7fdfd2c

Browse files
committed
Fixed Wait API documentation
1 parent 894bd38 commit 7fdfd2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/chapters/waiting.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ Wait.exactly(150, TimeUnit.MILLISECONDS);
1616
Wait.exactly(1, TimeUnit.HOURS);
1717

1818
// waits until the hidden field is visible on the DOM - with default timeout
19-
Wait.until(hiddenField, is(visible()));
19+
Wait.until(hiddenField).is(visible());
2020

2121
// waits until the hidden field is visible on the DOM - with custom timeout
22-
Wait.withTimeoutOf(10, TimeUnit.SECONDS).until(hiddenField, is(visible()));
22+
Wait.withTimeoutOf(10, TimeUnit.SECONDS).until(hiddenField).is(visible());
2323
```
2424

2525
# Linked Documentation

0 commit comments

Comments
 (0)