Skip to content

Commit

Permalink
clarify value required for driver location by .NET bindings
Browse files Browse the repository at this point in the history
[deploy site]
  • Loading branch information
titusfortner committed Jul 2, 2023
1 parent d2c2e79 commit 4d6591a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace SeleniumDocs.Drivers
[TestClass]
public class ServiceTest : BaseTest
{
private readonly string driverLocation = Environment.GetEnvironmentVariable("CHROMEWEBDRIVER") + "/chromedriver";
private readonly string driverLocation = Environment.GetEnvironmentVariable("CHROMEWEBDRIVER");

[TestMethod]
public void BasicService()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ If you cannot update Selenium or have an advanced use case, here is how to speci
{{< gh-codeblock path="examples/python/tests/drivers/test_service.py#L12" >}}
{{< /tab >}}
{{< 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" >}}
{{< /tab >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ If you can not update Selenium or have an advanced use case here is how to speci
{{< gh-codeblock path="examples/python/tests/drivers/test_service.py#L12" >}}
{{< /tab >}}
{{< 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" >}}
{{< /tab >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ If you can not update Selenium or have an advanced use case here is how to speci
{{< gh-codeblock path="examples/python/tests/drivers/test_service.py#L12" >}}
{{< /tab >}}
{{< 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" >}}
{{< /tab >}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ If you can not update Selenium or have an advanced use case here is how to speci
{{< gh-codeblock path="examples/python/tests/drivers/test_service.py#L12" >}}
{{< /tab >}}
{{< 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" >}}
{{< /tab >}}
Expand Down

0 comments on commit 4d6591a

Please sign in to comment.