changed assertSession method to use the new WaitingWebAssert class.
a new class that wraps most of the methods from WebAssert so that instead of immediately throwing an exception when an assertion fails, it will continue to poll for the assertion until a timeout is reached before throwing.