@@ -21,7 +21,7 @@ open your website. This can be achieved in a single line:
21
21
{{< gh-codeblock path="examples/python/tests/interactions/test_navigation.py#L6" >}}
22
22
{{< /tab >}}
23
23
{{< tab header="CSharp" >}}
24
- driver.Navigate().GoToUrl(@" https://selenium.dev ");
24
+ {{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/NavigationTest.cs#L17-L20" >}}
25
25
{{< /tab >}}
26
26
{{< tab header="Ruby" >}}
27
27
driver.navigate.to 'https://selenium.dev '
@@ -50,7 +50,9 @@ Pressing the browser's back button:
50
50
{{< tab header="Python" text=true >}}
51
51
{{< gh-codeblock path="examples/python/tests/interactions/test_navigation.py#L11" >}}
52
52
{{< /tab >}}
53
- {{< tab header="CSharp" >}}driver.Navigate().Back();{{< /tab >}}
53
+ {{< tab header="CSharp" >}}
54
+ {{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/NavigationTest.cs#L24-L25" >}}
55
+ {{< /tab >}}
54
56
{{< tab header="Ruby" >}}driver.navigate.back{{< /tab >}}
55
57
{{< tab header="JavaScript" text=true >}}
56
58
{{< gh-codeblock path="examples/javascript/test/interactions/navigation.spec.js#L24-L25" >}}
@@ -68,7 +70,9 @@ Pressing the browser's forward button:
68
70
{{< tab header="Python" text=true >}}
69
71
{{< gh-codeblock path="examples/python/tests/interactions/test_navigation.py#L15" >}}
70
72
{{< /tab >}}
71
- {{< tab header="CSharp" >}}driver.Navigate().Forward();{{< /tab >}}
73
+ {{< tab header="CSharp" >}}
74
+ {{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/NavigationTest.cs#L29-L30" >}}
75
+ {{< /tab >}}
72
76
{{< tab header="Ruby" >}}driver.navigate.forward{{< /tab >}}
73
77
{{< tab header="JavaScript" text=true >}}
74
78
{{< gh-codeblock path="examples/javascript/test/interactions/navigation.spec.js#L29-L30" >}}
@@ -87,7 +91,9 @@ Refresh the current page:
87
91
{{< tab header="Python" text=true >}}
88
92
{{< gh-codeblock path="examples/python/tests/interactions/test_navigation.py#L19" >}}
89
93
{{< /tab >}}
90
- {{< tab header="CSharp" >}}driver.Navigate().Refresh();{{< /tab >}}
94
+ {{< tab header="CSharp" >}}
95
+ {{< gh-codeblock path="examples/dotnet/SeleniumDocs/Interactions/NavigationTest.cs#L34-L35" >}}
96
+ {{< /tab >}}
91
97
{{< tab header="Ruby" >}}driver.navigate.refresh{{< /tab >}}
92
98
{{< tab header="JavaScript" text=true >}}
93
99
{{< gh-codeblock path="examples/javascript/test/interactions/navigation.spec.js#L34-L35" >}}
0 commit comments