-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[dotnet] Add WebDriverWait
constructor for specifying a sleep interval without a clock
#15838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: trunk
Are you sure you want to change the base?
Conversation
…val without a clock
PR Reviewer Guide 🔍(Review updated until commit 56c0618)Here are some key observations to aid the review process:
|
Thank you, @RenderMichael for this code suggestion. The support packages contain example code that many users find helpful, but they do not necessarily represent We actively encourage people to add the wrapper and helper code that makes sense for them to their own frameworks. |
PR Code Suggestions ✨Latest suggestions up to 56c0618
Previous suggestionsSuggestions up to commit 56c0618
|
User description
🔗 Related Issues
Fixes #15314
💥 What does this PR do?
Adds a constructor to
WebDriverWait
for specifying a sleep interval without a clock. Use it in a test.🔧 Implementation Notes
Note that the Java implementation already has this feature.
💡 Additional Considerations
🔄 Types of changes
PR Type
Enhancement
Description
Add new
WebDriverWait
constructor without clock parameterUpdate usage in
PopupWindowFinder
to use new constructorImprove API parity with Java bindings
Changes walkthrough 📝
WebDriverWait.cs
Add WebDriverWait constructor without clock parameter
dotnet/src/webdriver/Support/WebDriverWait.cs
WebDriverWait
accepting driver, timeout, andsleepInterval
PopupWindowFinder.cs
Use new WebDriverWait constructor in PopupWindowFinder
dotnet/src/support/UI/PopupWindowFinder.cs
WebDriverWait
constructor without clockWebDriverWait
in popup handling