How can I set the commandTimeout for a RemoteWebdriver in Selenium?
If I would do the same on a ChromeDriver, I would just do something like:
var service = ChromeDriverService.CreateDefaultService(driverPath);
var options = new ChromeOptions();
driver = new ChromeDriver(service, options, TimeSpan.FromSeconds(120));
..but what is the equivalent to this when I'm using a RemoveWebdriver? My first guess is by using something like:
var capabilities = DesiredCapabilities.Chrome();
capabilities.SetCapability("Capability-name-here", TimeSpan.FromSeconds(120));
driver = new RemoteWebDriver(testserver, capabilities);
But I can't find any documentation on what capabilities that can be set, and what string/object I should pass to .SetCapability.