Steve Wilkes' blog on .NET, Agile, TDD, design patterns and all that jazz

November 2012 Entries

WatiN's DomContainer.WaitForComplete() method pauses test execution until the DOM has finished loading, but if your page has functions registered with JQuery's ready() function, you'll probably want to wait for those to finish executing before testing it. Here's a WatiN extension method which pauses test execution until that happens.