-
-
Couldn't load subscription status.
- Fork 1.5k
Update "First Script" documentation with C# example from .NET README #2478
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
|
CLA assistant check
All committers have signed the CLA.
PR Reviewer Guide 🔍
Here are some key observations to aid the review process:
Incorrect Reference
The CSharp tab references /examples/dotnet/README.md#L55, which appears to be a CLI test filter command rather than the "First Script" C# code sample. Ensure the link points to an actual C# example; this applies to all translated pages updated in this PR.
/examples/dotnet/README.md#L55, which appears to be a CLI test filter command rather than the "First Script" C# code sample. Ensure the link points to an actual C# example; this applies to all translated pages updated in this PR.{{< gh-codeblock path="/examples/dotnet/README.md#L55" >}}
{{< /tab >}}Missing Code Example
The new .NET README provides setup and test commands but no C# "First Script" code snippet to reference. Consider adding a dedicated code block (with a stable anchor or section) for the first script so documentation tabs can link to it reliably instead of a fragile line number.
### Run a Specific Test Method To run a specific test method using its fully qualified name: ```bash dotnet test --filter "FullyQualifiedName=Namespace.ClassName.MethodName"
For example:
dotnet test --filter "FullyQualifiedName=SeleniumDocs.GettingStarted.UsingSeleniumTest.EightComponents"
You can also filter by test name only (if it's unique):
dotnet test --filter "Name=EightComponents"
</details>
</td></tr>
</table>
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
...p and running Selenium tests using C#. Updated the "First Script" documentation in multiple languages to include references to the new .NET README with C# example code blocks: English (first_script.en.md) Japanese (first_script.ja.md) Portuguese (first_script.pt-br.md) Simplified Chinese (first_script.zh-cn.md)
19d9983 to
34d5468
Compare
Uh oh!
There was an error while loading. Please reload this page.
User description
Updated multiple language versions of the "First Script" documentation to include the C# example from the newly added .NET README. The following languages were updated:
English (first_script.en.md)
Japanese (first_script.ja.md)
Portuguese (first_script.pt-br.md)
Simplified Chinese (first_script.zh-cn.md)
These updates include a new code block reference pointing to the appropriate section in the .NET README file.
PR Type
Documentation
Description
Added comprehensive .NET README with setup and testing instructions
Updated C# code references in multilingual documentation
Replaced placeholder badges with actual code examples
Enhanced documentation consistency across four languages
Diagram Walkthrough
File Walkthrough
README.md
New .NET README with setup instructionsexamples/dotnet/README.md
first_script.en.md
Updated C# code reference in English docswebsite_and_docs/content/documentation/webdriver/getting_started/first_script.en.md
{{< badge-code >}}with actual code referencefirst_script.ja.md
Updated C# code reference in Japanese docswebsite_and_docs/content/documentation/webdriver/getting_started/first_script.ja.md
{{< badge-code >}}with actual code referencefirst_script.pt-br.md
Updated C# code reference in Portuguese docswebsite_and_docs/content/documentation/webdriver/getting_started/first_script.pt-br.md
{{< badge-code >}}with actual code referencefirst_script.zh-cn.md
Updated C# code reference in Chinese docswebsite_and_docs/content/documentation/webdriver/getting_started/first_script.zh-cn.md
{{< badge-code >}}with actual code reference