-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
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 |
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
AlertsTest
to handle different types of alerts using Selenium WebDriver.Changes walkthrough 📝
AlertsTest.cs
Add C# test for handling alert interactions
examples/dotnet/SeleniumDocs/Interactions/AlertsTest.cs
AlertsTest
for alert interactions.IJavaScriptExecutor
andWebDriverWait
for alert handling.alerts.en.md
Update C# alert example to use new test file
website_and_docs/content/documentation/webdriver/interactions/alerts.en.md
alerts.ja.md
Update C# alert example to use new test file
website_and_docs/content/documentation/webdriver/interactions/alerts.ja.md
alerts.pt-br.md
Update C# alert example to use new test file
website_and_docs/content/documentation/webdriver/interactions/alerts.pt-br.md
alerts.zh-cn.md
Update C# alert example to use new test file
website_and_docs/content/documentation/webdriver/interactions/alerts.zh-cn.md