Приветствую, не могу увеличить timeout в firefox. У меня страница загружается из-за прокси более 60 секунд и я получаю ошибку:
The HTTP request to the remote WebDriver server for URL http://localhost:558...fd0089d4237/url timed out after 60 seconds
мой код:
FirefoxProfile prof = new FirefoxProfile("C:/PRF"); FirefoxOptions opt = new FirefoxOptions(); opt.Profile = prof; opt.SetPreference("apz.content_response_timeout", "120000"); IWebDriver driver = new FirefoxDriver(opt); driver.Manage().Window.Maximize(); driver.Manage().Timeouts().PageLoad = TimeSpan.FromSeconds(220); driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(220); driver.Navigate().GoToUrl("https://yandex.ru");
Ни одна из строк не помогает.