c# - Why the execution time is different in visual studio than browserstack? How can I fix it? -
i running test test explorer in visual studio c# , returns timeout , execution time 30 seconds(i specified time) in browserstack 2 minutes. how can change 90 seconds idle timeout in browserstack in order finish test in visual studio , browserstack @ same time? giving me issues because have tests in queue , reaching limit of account
it sounds you're asking how increase default timeout of webdriver.
driver.manage().timeouts().implicitwait = timespan.fromseconds(90); driver.manage().timeouts().pageload = timespan.fromseconds(90);
the above code change maximum time driver wait page load , maximum time driver wait while finding element. assuming iwebdriver object named 'driver.
Comments
Post a Comment