Skip to content

Commit

Permalink
fix dotnet tests
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Nov 2, 2023
1 parent 2e4f701 commit f9922aa
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions examples/dotnet/SeleniumDocs/Drivers/ServiceTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,14 @@ public void DriverPort()
driver = new ChromeDriver(service);
}

private string GetDriverLocation()
private static string GetDriverLocation()
{
return DriverFinder.FullPath(new ChromeOptions());
var options = new ChromeOptions
{
BrowserVersion = "stable"
};

return DriverFinder.FullPath(options);
}
}
}

0 comments on commit f9922aa

Please sign in to comment.