using a custom userdir like in the example not working on different computer
Opened this issue · 0 comments
Adel-Alekhtiar commented
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.