How to change page load timeout RemoteWebDriver (Chrome)
Is it possible to change timeouts for remote webdriver
I tried this:
DesiredCapabilities capabillities = DesiredCapabilities.Chrome();
capabillities.SetCapability(CapabilityType.Version, "27");
capabillities.SetCapability(CapabilityType.Platform, new
Platform(PlatformType.XP));
...
_driver = new RemoteWebDriver(new
Uri("http://ondemand.saucelabs.com:80/wd/hub"), capabillities);
_driver.Manage().Timeouts().ImplicitlyWait(new TimeSpan(0, 2, 30));
_driver.Manage().Timeouts().SetPageLoadTimeout(new TimeSpan(0, 2, 30));
and get this error:
{"status":405,"value":["GET","HEAD","DELETE"]}
When I remove last two rows, the code works fine.
No comments:
Post a Comment