How to increase code execution time limit in Selenium webdriver using C#
问题 Website is taking time to load when requesting a data from it. If website loads within 60 seconds, then everything is ok. Beyond that time, it throws me to error section. Actually, this code is executing for 60 sections only. this.driver.FindElement(By.CssSelector("#btnLogin")).Click(); How to set the driver to wait for this code to be executed completely? Thank you 回答1: You can increase page load wait time beyond the 60 seconds(default), say example 70 seconds as given below. driver.Manage()