Updated the WaitUntil() method to include an overload for timeoutInSeconds.