rosolko / WebDriverManager.Net

Automatic Selenium Webdriver binaries management for .Net
MIT License
267 stars 84 forks source link

Add method to set TempDirectory #291

Closed radmorecameron closed 9 months ago

radmorecameron commented 10 months ago

When using impersonation on Windows, Path.GetTempPath() won't return the impersonated user's temp directory which will result in permission issues. This PR adds a method to set the directory to avoid this issue.