-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
added csharp code for navigation command #1696
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
👷 Deploy request for selenium-dev pending review.Visit the deploys page to approve it
|
PR Description updated to latest commit (40acb57)
- Copy walkthrough table to "Files Changed" Tab
PR Review
2, because the PR involves a moderate amount of code changes across multiple files, primarily adding new functionality and updating documentation. The changes are straightforward and well-structured, making the review process relatively easy.
Yes
Hardcoded URL: The URLs in the navigation tests are hardcoded, which could make the tests less flexible and more difficult to maintain if the URLs change in the future.
No Cleanup in Tests: The test method TestNavigationCommands initializes a ChromeDriver but does not implement a teardown method to ensure closure if an assertion fails, potentially leaving the browser open.
No
✨ Review tool usage guide:
Overview:
The review tool scans the PR code changes, and generates a PR review which includes several types of feedbacks, such as possible PR issues, security threats and relevant test in the PR. More feedbacks can be added by configuring the tool.
The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
- When commenting, to edit configurations related to the review tool (
pr_reviewersection), use the following template:
/review --pr_reviewer.some_config1=... --pr_reviewer.some_config2=...
- With a configuration file, use the following template:
[pr_reviewer]
some_config1=...
some_config2=...
See the review usage page for a comprehensive guide on using this tool.
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
done, please check.
* added csharp code for navigation command * updated csharp code fix * modified package name --------- Co-authored-by: Sri Harsha <12621691+harsha509@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
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 commands for navigation
Motivation and Context
added csharp code for navigation
Types of changes
Checklist
Type
enhancement, documentation
Description
NavigationTestin the SeleniumDocs project, including methods to test basic navigation commands.GoToUrl,Back,Forward, andRefreshwith assertions to check the page title.Changes walkthrough
NavigationTest.cs
Add C# Selenium navigation commands with testsexamples/dotnet/SeleniumDocs/Interactions/NavigationTest.cs
NavigationTestwith methods to test navigationcommands.
GoToUrl,Back,Forward, andRefresh.the correct page is loaded.
ChromeDriverwithin the test method.navigation.en.md
Update English navigation documentation with new CSharp exampleswebsite_and_docs/content/documentation/webdriver/interactions/navigation.en.md
new test methods.
navigation.ja.md
Update Japanese navigation documentation with new CSharp exampleswebsite_and_docs/content/documentation/webdriver/interactions/navigation.ja.md
new test methods.
navigation.pt-br.md
Update Portuguese navigation documentation with new CSharp exampleswebsite_and_docs/content/documentation/webdriver/interactions/navigation.pt-br.md
new test methods.
navigation.zh-cn.md
Update Chinese navigation documentation with new CSharp exampleswebsite_and_docs/content/documentation/webdriver/interactions/navigation.zh-cn.md
new test methods.