Open vinzh05 opened 2 years ago
Could that be the cause?
The code will generate paths according to environment variables.
If your chrome is not in these paths, you can use browserExecutablePath to set.
var yourBrowserPath =
@"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe";
using var driver = UndetectedChromeDriver.Create(
options: options,
driverExecutablePath: driverExecutablePath,
browserExecutablePath: yourBrowserPath);