File tree 5 files changed +28
-8
lines changed
examples/dotnet/SeleniumDocs/SeleniumManager
website_and_docs/content/documentation
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
231
231
** Selenium Manager**
232
232
{{< gh-codeblock path="examples/python/tests/selenium_manager/usage.py#L10-L12" >}}
233
233
{{< /tab >}}
234
- {{< tab header="CSharp" > }}
235
- {{< badge-code >}}
234
+ {{% tab header="CSharp" % }}
235
+ {{< gh-codeblock path="examples/dotnet/SeleniumDocs/SeleniumManager/UsageTest.cs#L10-L18" >}}
236
236
{{< /tab >}}
237
237
{{< tab header="Ruby" >}}
238
238
{{< 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
231
231
** Selenium Manager**
232
232
{{< gh-codeblock path="examples/python/tests/selenium_manager/usage.py#L10-L12" >}}
233
233
{{< /tab >}}
234
- {{< tab header="CSharp" > }}
235
- {{< badge-code >}}
234
+ {{% tab header="CSharp" % }}
235
+ {{< gh-codeblock path="examples/dotnet/SeleniumDocs/SeleniumManager/UsageTest.cs#L10-L18" >}}
236
236
{{< /tab >}}
237
237
{{< tab header="Ruby" >}}
238
238
{{< 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
231
231
** Selenium Manager**
232
232
{{< gh-codeblock path="examples/python/tests/selenium_manager/usage.py#L10-L12" >}}
233
233
{{< /tab >}}
234
- {{< tab header="CSharp" > }}
235
- {{< badge-code >}}
234
+ {{% tab header="CSharp" % }}
235
+ {{< gh-codeblock path="examples/dotnet/SeleniumDocs/SeleniumManager/UsageTest.cs#L10-L18" >}}
236
236
{{< /tab >}}
237
237
{{< tab header="Ruby" >}}
238
238
{{< 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
337
337
** Selenium Manager**
338
338
{{< gh-codeblock path="examples/python/tests/selenium_manager/usage.py#L10-L12" >}}
339
339
{{< /tab >}}
340
- {{< tab header="CSharp" > }}
341
- {{< badge-code >}}
340
+ {{% tab header="CSharp" % }}
341
+ {{< gh-codeblock path="examples/dotnet/SeleniumDocs/SeleniumManager/UsageTest.cs#L10-L18" >}}
342
342
{{< /tab >}}
343
343
{{< tab header="Ruby" >}}
344
344
{{< badge-code >}}
You can’t perform that action at this time.
0 commit comments