reload chrome
Opened this issue · 1 comments
mahdisky commented
hi
how to reload again after initializing?
_driver.Dispose();
and again
UndetectedChromeDriver.Create
when I add "options"
but not work
fysh711426 commented
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();