You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,5 +64,17 @@ using (var driver = new ChromeDriver())
64
64
}
65
65
```
66
66
67
+
### The `WaitUntilUrlContains` extension method
68
+
69
+
Periodically checks if the browser URL contains the passed string. If the URL does not match before the specified timeout occurs, a `TimeoutException` will be thrown.
70
+
```csharp
71
+
// Instanciate an IWebDriver
72
+
using (vardriver=newChromeDriver())
73
+
{
74
+
// Will wait untill the URL becomes https://request.url using the default timeout (10s) and poll (.5s) time
0 commit comments