1

Good morning, trying to add an extension into geckodriver, which has to be initialized from .net framework, Selenium. After using

FirefoxProfile profile = new FirefoxProfile();
FirefoxOptions options = new FirefoxOptions();
profile.AddExtension("foxyproxy.xpi");
options.Profile = profile;
FirefoxDriver driver = new FirefoxDriver(options);

I get an exception: System.ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime. (stack trace could be found on the link below)

Thats all about adding exception, because without exception everything works like a charm.

Found this topic, but looks like it wasnt resolved.(same error as mine)

Any ideas how to fix that?

undetected Selenium
  • 183,867
  • 41
  • 278
  • 352

0 Answers0