File tree Expand file tree Collapse file tree 5 files changed +28
-8
lines changed
examples/dotnet/SeleniumDocs/SeleniumManager
website_and_docs/content/documentation Expand file tree Collapse file tree 5 files changed +28
-8
lines changed Original file line number Diff line number Diff line change 1+ using Microsoft . VisualStudio . TestTools . UnitTesting ;
2+ using OpenQA . Selenium . Chrome ;
3+
4+ namespace SeleniumDocs . SeleniumManagerTest
5+ {
6+ [ TestClass ]
7+ public class UsageTest
8+ {
9+ [ TestMethod ]
10+ public void TestWithSeleniumManager ( )
11+ {
12+ // Before
13+ // using var driver = new ChromeDriver("path/to/chromedriver");
14+
15+ // Now
16+ using var driver = new ChromeDriver ( ) ;
17+ driver . Navigate ( ) . GoToUrl ( "https://www.selenium.dev/documentation/selenium_manager/" ) ;
18+ }
19+ }
20+ }
Original file line number Diff line number Diff line change @@ -231,8 +231,8 @@ INFO Browser path: C:\Users\boni\.cache\selenium\chrome\win64\117.0.5938.22\c
231231** Selenium Manager**
232232{{< gh-codeblock path="examples/python/tests/selenium_manager/usage.py#L10-L12" >}}
233233{{< /tab >}}
234- {{< tab header="CSharp" > }}
235- {{< badge-code >}}
234+ {{% tab header="CSharp" % }}
235+ {{< gh-codeblock path="examples/dotnet/SeleniumDocs/SeleniumManager/UsageTest.cs#L10-L18" >}}
236236{{< /tab >}}
237237{{< tab header="Ruby" >}}
238238{{< badge-code >}}
Original file line number Diff line number Diff line change @@ -231,8 +231,8 @@ INFO Browser path: C:\Users\boni\.cache\selenium\chrome\win64\117.0.5938.22\c
231231** Selenium Manager**
232232{{< gh-codeblock path="examples/python/tests/selenium_manager/usage.py#L10-L12" >}}
233233{{< /tab >}}
234- {{< tab header="CSharp" > }}
235- {{< badge-code >}}
234+ {{% tab header="CSharp" % }}
235+ {{< gh-codeblock path="examples/dotnet/SeleniumDocs/SeleniumManager/UsageTest.cs#L10-L18" >}}
236236{{< /tab >}}
237237{{< tab header="Ruby" >}}
238238{{< badge-code >}}
Original file line number Diff line number Diff line change @@ -231,8 +231,8 @@ INFO Browser path: C:\Users\boni\.cache\selenium\chrome\win64\117.0.5938.22\c
231231** Selenium Manager**
232232{{< gh-codeblock path="examples/python/tests/selenium_manager/usage.py#L10-L12" >}}
233233{{< /tab >}}
234- {{< tab header="CSharp" > }}
235- {{< badge-code >}}
234+ {{% tab header="CSharp" % }}
235+ {{< gh-codeblock path="examples/dotnet/SeleniumDocs/SeleniumManager/UsageTest.cs#L10-L18" >}}
236236{{< /tab >}}
237237{{< tab header="Ruby" >}}
238238{{< badge-code >}}
Original file line number Diff line number Diff line change @@ -337,8 +337,8 @@ INFO Browser path: C:\Users\boni\.cache\selenium\chrome\win64\117.0.5938.22\c
337337** Selenium Manager**
338338{{< gh-codeblock path="examples/python/tests/selenium_manager/usage.py#L10-L12" >}}
339339{{< /tab >}}
340- {{< tab header="CSharp" > }}
341- {{< badge-code >}}
340+ {{% tab header="CSharp" % }}
341+ {{< gh-codeblock path="examples/dotnet/SeleniumDocs/SeleniumManager/UsageTest.cs#L10-L18" >}}
342342{{< /tab >}}
343343{{< tab header="Ruby" >}}
344344{{< badge-code >}}
You can’t perform that action at this time.
0 commit comments