|
76 | 76 | //! it's probably best to execute multiple queries. |
77 | 77 | //! |
78 | 78 | //! All timeout, interval and ElementPoller details can be overridden on a per-call basis if |
79 | | -//! desired. See the `ElementQuery` documentation for more details. |
| 79 | +//! desired. See the [ElementQuery](struct.ElementQuery.html) documentation for more details. |
80 | 80 | //! |
81 | 81 | //! ### ElementWaiter |
82 | 82 | //! |
83 | | -//! First, import the following: |
84 | | -//! ```ignore |
85 | | -//! use thirtyfour::query::{ElementPoller, ElementWaitable}; |
86 | | -//! ``` |
87 | | -//! |
88 | | -//! Now you can do things like this: |
| 83 | +//! With `ElementWaiter` you can do things like this: |
89 | 84 | //! ```ignore |
90 | 85 | //! elem.wait_until().displayed().await?; |
91 | 86 | //! // You can optionally provide a nicer error message like this. |
|
95 | 90 | //! elem.wait_until().clickable().await?; |
96 | 91 | //! ``` |
97 | 92 | //! |
98 | | -//! And so on. See the `ElementWaiter` docs for the full list of predicates available. |
| 93 | +//! And so on. See the [ElementWaiter](struct.ElementWaiter.html) docs for the full |
| 94 | +//! list of predicates available. |
99 | 95 | //! |
100 | | -//! ElementWaiter also allows the user of custom predicates that take a `&WebElement` argument |
| 96 | +//! `ElementWaiter` also allows the user of custom predicates that take a `&WebElement` argument |
101 | 97 | //! and return a `WebDriverResult<bool>`. |
102 | 98 | //! |
103 | 99 | //! A range of pre-defined predicates are also supplied for convenience in the |
|
121 | 117 | //! You can optionally change the default polling behaviour. The same poller will apply to |
122 | 118 | //! both `ElementQuery` and `ElementWaiter`. |
123 | 119 | //! |
124 | | -//! See [ElementPoller::default()](query/enum.ElementPoller.html#impl-Default) for more details |
| 120 | +//! See [ElementPoller::default()](enum.ElementPoller.html#impl-Default) for more details |
125 | 121 | //! about the default polling behaviour. |
126 | 122 | //! ```rust |
127 | 123 | //! # use thirtyfour::prelude::*; |
|
141 | 137 | //! # } |
142 | 138 | //! ``` |
143 | 139 | //! |
144 | | -//! Other [ElementPoller](query/enum.ElementPoller.html) options are also available, such as |
| 140 | +//! Other [ElementPoller](enum.ElementPoller.html) options are also available, such as |
145 | 141 | //! `NoWait` and `NumTriesWithInterval`. |
146 | 142 | //! These can also be overridden on a per-query basis if needed. |
147 | 143 | //! |
|
0 commit comments