-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[dotnet] Support setting timeouts in capabilities #13698
[dotnet] Support setting timeouts in capabilities #13698
Conversation
PR Description updated to latest commit (5a7e9cb)
|
PR Review
✨ Review tool usage guide:Overview:
With a configuration file, use the following template:
See the review usage page for a comprehensive guide on using this tool. |
PR Code Suggestions
✨ Improve tool usage guide:Overview:
With a configuration file, use the following template:
See the improve usage page for a more comprehensive guide on using this tool. |
User description
New properties in driver options:
Description
Motivation and Context
Fixes #10183
Types of changes
Checklist
Type
enhancement, tests
Description
Timeout
class to handle script, page load, and implicit wait timeouts.ScriptTimeout
,PageLoadTimeout
, andImplicitWaitTimeout
toDriverOptions
to allow setting these timeouts.Timeouts
documentation to reflect the ability to manage timeouts viaDriverOptions
.DriverFactory
to support the new timeout options.TimeoutDriverOptionsTest
to validate the functionality of the new timeout settings.Changes walkthrough
DriverOptions.cs
Add Timeout Settings to Driver Options
dotnet/src/webdriver/DriverOptions.cs
Timeout
class withScript
,PageLoad
, andImplicitWait
properties.ScriptTimeout
,PageLoadTimeout
, andImplicitWaitTimeout
inDriverOptions
class.wait timeouts.
DriverFactory.cs
Extend Driver Factory with Timeout Options
dotnet/test/common/Environment/DriverFactory.cs
implicit wait timeouts.
Timeouts.cs
Update Timeouts Documentation
dotnet/src/webdriver/Timeouts.cs
DriverOptions
.TimeoutDriverOptionsTest.cs
Add Tests for Timeout Settings in Driver Options
dotnet/test/common/TimeoutDriverOptionsTest.cs
TimeoutDriverOptionsTest
class with tests for script, page load,and implicit wait timeout settings.