Hey guys,
Is there a way to refresh the browser window count (Manager.Browser.Count)? I've run into a very intermittent problem where occasionally my tests will fail, because the browser count is wrong. So in my code I want to do a quick check to see if the browser count is where it should be, and if it isn't, refresh the count and try again.
Alternatively, is there a "Wait For" new browser window to load function? This could also solve the problem, as I think the above maybe related to a timing issue.
Thanks.
Is there a way to refresh the browser window count (Manager.Browser.Count)? I've run into a very intermittent problem where occasionally my tests will fail, because the browser count is wrong. So in my code I want to do a quick check to see if the browser count is where it should be, and if it isn't, refresh the count and try again.
Alternatively, is there a "Wait For" new browser window to load function? This could also solve the problem, as I think the above maybe related to a timing issue.
Thanks.