Skip to content

Commit

Permalink
Fix up rustdoc broken links in wait
Browse files Browse the repository at this point in the history
  • Loading branch information
jonhoo committed Sep 6, 2021
1 parent 8ac0f90 commit 559fc13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,5 +294,4 @@ pub use client::Client;
pub mod cookies;
pub mod elements;

/// Allow to wait for conditions.
pub mod wait;
4 changes: 3 additions & 1 deletion src/wait.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
//! Allow to wait for conditions.
//!
//! Sometimes it is necessary to wait for a browser to achieve a certain state. For example,
//! navigating to a page may be take bit of time. And the time may vary between different
//! environments and test runs. Static delays can work around this issue, but also prolong the
Expand All @@ -13,7 +15,7 @@
//!
//! By default all wait operations will time-out after 30 seconds and will re-check every
//! 250 milliseconds. You can configure this using the [`Wait::at_most`] and [`Wait::every`]
//! methods or use [`Wait::forver`] to wait indefinitely.
//! methods or use [`Wait::forever`] to wait indefinitely.
//!
//! Once configured, you can start waiting on some condition by using the `Wait::for_*` methods.
//! For example:
Expand Down

0 comments on commit 559fc13

Please sign in to comment.