Skip to content

Commit

Permalink
fix service class references to .NET
Browse files Browse the repository at this point in the history
[deploy site]
  • Loading branch information
titusfortner committed Sep 10, 2023
1 parent 9e714d2 commit 4b5d82b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To start a driver with a default service instance:
**Note**: Python Service classes only allow values to be set as arguments to the constructor.
{{% /tab %}}
{{% tab header="CSharp" %}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L19-L20" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L17-L18" >}}
**Note**: .NET Service classes allow values to be set as properties.
{{% /tab %}}
{{% tab header="Ruby" %}}
Expand Down Expand Up @@ -56,7 +56,7 @@ If you cannot update Selenium or have an advanced use case, here is how to speci
{{< tab header="CSharp" >}}
Note: Unlike the other languages, the driver location should not include the file name, only the path to the directory the driver is in.
{{< badge-version version="4.9" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L27" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L24" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.8" >}}
Expand All @@ -82,7 +82,7 @@ If you want the driver to run on a specific port, you may specify it as follows:
{{< gh-codeblock path="examples/python/tests/drivers/test_service.py#L20" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L36" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L33" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.8" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To start a driver with a default service instance:
{{< gh-codeblock path="examples/python/tests/drivers/test_service.py#L5-L6" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L19-L20" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L17-L18" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< gh-codeblock path="examples/ruby/spec/drivers/service_spec.rb#L12-L13" >}}
Expand Down Expand Up @@ -52,7 +52,7 @@ If you can not update Selenium or have an advanced use case here is how to speci
{{< tab header="CSharp" >}}
Note: Unlike the other languages, the driver location should not include the file name, only the path to the directory the driver is in.
{{< badge-version version="4.9" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L27" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L24" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.8" >}}
Expand All @@ -78,7 +78,7 @@ If you want the driver to run on a specific port, you may specify it as follows:
{{< gh-codeblock path="examples/python/tests/drivers/test_service.py#L20" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L36" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L33" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.8" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To start a driver with a default service instance:
{{< gh-codeblock path="examples/python/tests/drivers/test_service.py#L5-L6" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L19-L20" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L17-L18" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< gh-codeblock path="examples/ruby/spec/drivers/service_spec.rb#L12-L13" >}}
Expand Down Expand Up @@ -52,7 +52,7 @@ If you can not update Selenium or have an advanced use case here is how to speci
{{< tab header="CSharp" >}}
Note: Unlike the other languages, the driver location should not include the file name, only the path to the directory the driver is in.
{{< badge-version version="4.9" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L27" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L24" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.8" >}}
Expand All @@ -78,7 +78,7 @@ If you want the driver to run on a specific port, you may specify it as follows:
{{< gh-codeblock path="examples/python/tests/drivers/test_service.py#L20" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L36" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L33" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.8" >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ To start a driver with a default service instance:
{{< gh-codeblock path="examples/python/tests/drivers/test_service.py#L5-L6" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L19-L20" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L17-L18" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< gh-codeblock path="examples/ruby/spec/drivers/service_spec.rb#L12-L13" >}}
Expand Down Expand Up @@ -52,7 +52,7 @@ If you can not update Selenium or have an advanced use case here is how to speci
{{< tab header="CSharp" >}}
Note: Unlike the other languages, the driver location should not include the file name, only the path to the directory the driver is in.
{{< badge-version version="4.9" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L27" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L24" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.8" >}}
Expand All @@ -78,7 +78,7 @@ If you want the driver to run on a specific port, you may specify it as follows:
{{< gh-codeblock path="examples/python/tests/drivers/test_service.py#L20" >}}
{{< /tab >}}
{{< tab header="CSharp" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L36" >}}
{{< gh-codeblock path="examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs#L33" >}}
{{< /tab >}}
{{< tab header="Ruby" >}}
{{< badge-version version="4.8" >}}
Expand Down

0 comments on commit 4b5d82b

Please sign in to comment.