-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
added csharp code for alert #2084
added csharp code for alert #2084
Conversation
👷 Deploy request for selenium-dev pending review.Visit the deploys page to approve it
|
PR Reviewer Guide 🔍(Review updated until commit 020711f)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 020711f
Previous suggestionsSuggestions up to commit 020711f
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pallavigitwork please investigate and fix 6 failing checks.
GitHub Actions / tests (windows, nightly)
The name 'SeleniumExtras' does not exist in the current context
@A1exKH the tests are failing because of this -Error: D:\a\seleniumhq.github.io\seleniumhq.github.io\examples\dotnet\SeleniumDocs\Interactions\AlertsTest.cs(58,24): error CS0103: The name 'SeleniumExtras' does not exist in the current context . It is a .net package which is required for the implemented code to run. It is a problem with the environment. The SeleniumExtras is a .net package required for ExpectedConditions |
#2089 this is the new PR. i don't see changes on website. |
User description
Thanks for contributing to the Selenium site and documentation!
A PR well described will help maintainers to review and merge it quickly
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, and help reviewers by making them as simple and short as possible.
Description
added csharp code for alert
Motivation and Context
added code for csharp
Types of changes
Checklist
PR Type
Enhancement, Documentation
Description
Added a comprehensive C# example for handling alerts.
Updated documentation to reference the new C# example.
Replaced outdated C# code snippets in multiple language-specific docs.
Improved clarity and consistency in alert handling examples.
Changes walkthrough 📝
AlertsTest.cs
Add C# test class for alert handling
examples/dotnet/SeleniumDocs/Interactions/AlertsTest.cs
AlertsTest
.alerts.en.md
Update English docs with new C# example
website_and_docs/content/documentation/webdriver/interactions/alerts.en.md
alerts.ja.md
Update Japanese docs with new C# example
website_and_docs/content/documentation/webdriver/interactions/alerts.ja.md
alerts.pt-br.md
Update Portuguese docs with new C# example
website_and_docs/content/documentation/webdriver/interactions/alerts.pt-br.md
alerts.zh-cn.md
Update Chinese docs with new C# example
website_and_docs/content/documentation/webdriver/interactions/alerts.zh-cn.md