I'm declaring my Selenium WebDriver reference like this:
var driver = new FirefoxDriver(service,
new FirefoxOptions {
BrowserExecutableLocation = "XXXX",
Profile = firefoxProfile,
UseLegacyImplementation = true },
new TimeSpan(0, 1, 30));
It works great 99% of the time, however there are certain cases where I want to change the default "commandTimeout" to something other than 90 seconds. How do I do this without redefining the driver?
I've explored all the methods/properties of the following class and it doesn't seem changing any of them has any effect:
driver.Manage().Timeouts()
There also this post, but it's not related to the "commandTimeout". There's this, which doesn't really cover AFTER the driver is created. Most posts about Selenium timeouts are concerned with Implicit Wait's or various other timeouts, not the timeout value specified in the driver's declaration.