Open mahdisky opened 2 years ago
Options cannot be shared.
Try it.
var createOptions = () =>
{
var options = new ChromeOptions();
...
return options;
};
var driver = UndetectedChromeDriver.Create(
options: createOptions(),
driverExecutablePath: driverExecutablePath);
driver.GoToUrl("https://nowsecure.nl");
driver.Dispose();
driver = UndetectedChromeDriver.Create(
options: createOptions(),
driverExecutablePath: driverExecutablePath);
driver.GoToUrl("https://nowsecure.nl");
driver.Dispose();
hi how to reload again after initializing?
_driver.Dispose(); and again UndetectedChromeDriver.Create when I add "options" but not work