fysh711426 / UndetectedChromeDriver

GNU General Public License v3.0
166 stars 60 forks source link

using a custom userdir like in the example not working on different computer #82

Open Adel-Alekhtiar opened 1 month ago

Adel-Alekhtiar commented 1 month ago
string UserDir = Environment.CurrentDirectory + "\\UserDir\\";
driver = UndetectedChromeDriver.Create(options: options, userDataDir: UserDir, driverExecutablePath:
await new ChromeDriverInstaller().Auto(), hideCommandPromptWindow: false,prefs:prefs);
driver.GoToUrl(FACEBOOKURL);
driver.Manage().Window.Maximize();

on my computer the userdir folder has many subfolders and its working great. when i move the output of my application to another computer the userdir only has one subfolder named "Default" and my application doesn't even go to the page and i get "60 second timout" any help will be much appetited.