Skip to content
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 Example to Selenium Manager #1967

Open
wants to merge 28 commits into
base: trunk
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
7c9a259
Added CSharp Example to Selenium Manager
shbenzer Sep 24, 2024
a17a252
Merge branch 'trunk' into csharp-selenium-manager-example
shbenzer Sep 24, 2024
30310c3
Merge branch 'trunk' into csharp-selenium-manager-example
shbenzer Sep 29, 2024
8034061
Merge branch 'trunk' into csharp-selenium-manager-example
shbenzer Oct 8, 2024
c7ac6be
Merge branch 'trunk' into csharp-selenium-manager-example
shbenzer Oct 13, 2024
52b4db4
Merge branch 'trunk' into csharp-selenium-manager-example
shbenzer Nov 3, 2024
0afd142
Merge branch 'trunk' into csharp-selenium-manager-example
shbenzer Nov 4, 2024
fc29eff
Merge branch 'trunk' into csharp-selenium-manager-example
shbenzer Dec 27, 2024
35250fd
Merge branch 'trunk' into csharp-selenium-manager-example
shbenzer Dec 30, 2024
e23d0f0
Update examples/dotnet/SeleniumDocs/SeleniumManager/UsageTest.cs
shbenzer Feb 26, 2025
2635bc0
Updated with using pattern
shbenzer Feb 26, 2025
428f4f7
Merge branch 'trunk' into csharp-selenium-manager-example
shbenzer Feb 26, 2025
cd1f9c3
Update UsageTest.cs
shbenzer Feb 26, 2025
d0487b9
Update UsageTest.cs
shbenzer Feb 26, 2025
c63857b
Update UsageTest.cs
shbenzer Feb 28, 2025
cf152bd
Update UsageTest.cs
shbenzer Feb 28, 2025
3e7a906
Update UsageTest.cs
shbenzer Feb 28, 2025
c6c848e
Update examples/dotnet/SeleniumDocs/SeleniumManager/UsageTest.cs
shbenzer Mar 3, 2025
b801adf
Update examples/dotnet/SeleniumDocs/SeleniumManager/UsageTest.cs
shbenzer Mar 3, 2025
e29b748
Merge branch 'trunk' into csharp-selenium-manager-example
shbenzer Mar 3, 2025
bed6293
testmethod
shbenzer Mar 3, 2025
2943331
removed unused imports
shbenzer Mar 3, 2025
b5e091f
Update examples/dotnet/SeleniumDocs/SeleniumManager/UsageTest.cs
shbenzer Mar 3, 2025
be39490
Update lines english
shbenzer Mar 3, 2025
9526a53
Update line ja
shbenzer Mar 3, 2025
3fddb34
Update lines pt-br
shbenzer Mar 3, 2025
54b17ba
Update lines zh-cn
shbenzer Mar 3, 2025
668901b
Merge branch 'trunk' into csharp-selenium-manager-example
shbenzer Mar 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update lines pt-br
shbenzer authored Mar 3, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 3fddb34bee2a7dda201d415e2f626bad5c81ac9b
Original file line number Diff line number Diff line change
@@ -232,10 +232,7 @@ INFO Browser path: C:\Users\boni\.cache\selenium\chrome\win64\117.0.5938.22\c
{{< gh-codeblock path="examples/python/tests/selenium_manager/usage.py#L10-L12" >}}
{{< /tab >}}
{{% tab header="CSharp" %}}
**Previously**
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/SeleniumManager/UsageTest.cs#L15-L20" >}}
**Selenium Manager**
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/SeleniumManager/UsageTest.cs#L22-L27" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/SeleniumManager/UsageTest.cs#L10-L18" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-code >}}

Unchanged files with check annotations Beta

Log.Handlers.Add(new FileLogHandler(filePath));
Log.SetLevel(typeof(RemoteWebDriver), LogEventLevel.Debug);
Log.SetLevel(typeof(SeleniumManager), LogEventLevel.Info);

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (ubuntu, stable)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (ubuntu, stable)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (ubuntu, stable)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (ubuntu, nightly)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (ubuntu, nightly)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (ubuntu, nightly)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (windows, stable)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (windows, stable)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (windows, stable)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (windows, nightly)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (windows, nightly)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (windows, nightly)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (macos, stable)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (macos, stable)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (macos, stable)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (macos, nightly)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (macos, nightly)

'SeleniumManager' is a namespace but is used like a type

Check failure on line 23 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (macos, nightly)

'SeleniumManager' is a namespace but is used like a type
Warn("this is a warning");
Info("this is useful information");
// reset log to default
Log.SetLevel(LogEventLevel.Info)
.Handlers.Clear()
.Handlers.Add(new ConsoleLogHandler());

Check warning on line 48 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (ubuntu, nightly)

'ConsoleLogHandler' is obsolete: 'Use TextWriterHandler instead, will be removed in v4.32'

Check warning on line 48 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (ubuntu, nightly)

'ConsoleLogHandler' is obsolete: 'Use TextWriterHandler instead, will be removed in v4.32'

Check warning on line 48 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (ubuntu, nightly)

'ConsoleLogHandler' is obsolete: 'Use TextWriterHandler instead, will be removed in v4.32'

Check warning on line 48 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (windows, nightly)

'ConsoleLogHandler' is obsolete: 'Use TextWriterHandler instead, will be removed in v4.32'

Check warning on line 48 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (windows, nightly)

'ConsoleLogHandler' is obsolete: 'Use TextWriterHandler instead, will be removed in v4.32'

Check warning on line 48 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (windows, nightly)

'ConsoleLogHandler' is obsolete: 'Use TextWriterHandler instead, will be removed in v4.32'

Check warning on line 48 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (macos, nightly)

'ConsoleLogHandler' is obsolete: 'Use TextWriterHandler instead, will be removed in v4.32'

Check warning on line 48 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (macos, nightly)

'ConsoleLogHandler' is obsolete: 'Use TextWriterHandler instead, will be removed in v4.32'

Check warning on line 48 in examples/dotnet/SeleniumDocs/Troubleshooting/LoggingTest.cs

GitHub Actions / tests (macos, nightly)

'ConsoleLogHandler' is obsolete: 'Use TextWriterHandler instead, will be removed in v4.32'
}
// logging is only for internal usage