Open alphaumi3 opened 1 year ago
What about separating driverExecutablePath from userDataDir?
I try, but it didn't work!
Check folder permissions.
When I use explicitly path, then chromedriver can launch, but this way is not convenient for user.
I understand, driverExecutablePath
needs to set the chromedriver exe path, but you set the folder path.
but this way is not convenient for user.
You can also use automatic download.
var driverExecutablePath = await new ChromeDriverInstaller().Auto();
I got this error:
If I change back to using Ordinary Selenium, then my code can works normally. Bellow is my code using SeleniumUndetectedChromedriver: '// Thiết lập đường dẫn tới chromedriver string chromeDriverPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "SavedData");
Please help!