diff --git a/website_and_docs/content/documentation/webdriver/drivers/service.en.md b/website_and_docs/content/documentation/webdriver/drivers/service.en.md index f3ec215a6859..4b3f0181455c 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/service.en.md +++ b/website_and_docs/content/documentation/webdriver/drivers/service.en.md @@ -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" %}} @@ -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" >}} @@ -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" >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/service.ja.md b/website_and_docs/content/documentation/webdriver/drivers/service.ja.md index 87ef025630b8..54753e4331d2 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/service.ja.md +++ b/website_and_docs/content/documentation/webdriver/drivers/service.ja.md @@ -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" >}} @@ -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" >}} @@ -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" >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/service.pt-br.md b/website_and_docs/content/documentation/webdriver/drivers/service.pt-br.md index 87ef025630b8..54753e4331d2 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/service.pt-br.md +++ b/website_and_docs/content/documentation/webdriver/drivers/service.pt-br.md @@ -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" >}} @@ -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" >}} @@ -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" >}} diff --git a/website_and_docs/content/documentation/webdriver/drivers/service.zh-cn.md b/website_and_docs/content/documentation/webdriver/drivers/service.zh-cn.md index 13447067642c..9de88614966b 100644 --- a/website_and_docs/content/documentation/webdriver/drivers/service.zh-cn.md +++ b/website_and_docs/content/documentation/webdriver/drivers/service.zh-cn.md @@ -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" >}} @@ -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" >}} @@ -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" >}}