Check that the current url differs from a given string. Args: url: The expected url, which must not be an exact match. Returns: True when the url does not match, False otherwise.
(url: str)
| 150 | |
| 151 | |
| 152 | def url_changes(url: str) -> Callable[[WebDriver], bool]: |
| 153 | """Check that the current url differs from a given string. |
| 154 | |
| 155 | Args: |
| 156 | url: The expected url, which must not be an exact match. |
| 157 | |
| 158 | Returns: |
| 159 | True when the url does not match, False otherwise. |
| 160 | """ |
| 161 | |
| 162 | def _predicate(driver: WebDriver): |
| 163 | return url != driver.current_url |
| 164 | |
| 165 | return _predicate |
| 166 | |
| 167 | |
| 168 | def visibility_of_element_located( |
nothing calls this directly
no outgoing calls
no test coverage detected