-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Added one more way for navigation in NavigationTest.cs for C# #1996
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
Conversation
Added one more possibility for Navigation
👷 Deploy request for selenium-dev pending review.Visit the deploys page to approve it
|
CLAassistant
commented
Oct 14, 2024
CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
PR Reviewer Guide 🔍
Here are some key observations to aid the review process:
Code Duplication
The PR introduces duplicate navigation to the same URL ("https://selenium.dev") using different methods. This might lead to confusion and unnecessary test execution time. Consider removing one of the navigation calls or using different URLs to demonstrate the various navigation methods.
Commented Code
There is a commented-out line of code demonstrating an additional navigation method. Consider either removing this line or uncommenting it if it's meant to be part of the example.
PR Code Suggestions ✨Explore these optional code suggestions:
|
Hi @Rupesh253,
Thank you for your contribution!
I appreciate the effort to clarify the differences between driver.Url and driver.Navigate().GoToUrl. However, for the context provided, our goal is to show the usage of both driver.Url and driver.Navigate().GoToUrl, without detailing the types of arguments they accept. Including the additional notes on Uri and string arguments may add unnecessary complexity for our intended audience in docs.
For simplicity and consistency, we'll keep the original explanations focused on basic usage examples. Thanks again for the suggestion, and we welcome further contributions!
Closing as Not Planned!
Uh oh!
There was an error while loading. Please reload this page.
User description
Added one more possibility for Navigation
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
Motivation and Context
Types of changes
Checklist
PR Type
enhancement, documentation
Description
NavigationTest.csby adding comments to clarify the usage of different navigation methods.driver.Navigate().GoToUrl()with aUriargument.Changes walkthrough 📝
NavigationTest.cs
Enhance navigation test with additional example and commentsexamples/dotnet/SeleniumDocs/Interactions/NavigationTest.cs
driver.Urlanddriver.Navigate().GoToUrl().driver.Navigate().GoToUrl()with a
Uriargument.