Created
September 9, 2011 22:28
-
-
Save mastoj/1207490 to your computer and use it in GitHub Desktop.
WatiN observable browser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ObservableBrowser : IE | |
{ | |
private NavigationObserver _observer; | |
public ObservableBrowser() | |
{ | |
_observer = new NavigationObserver(this); | |
} | |
public void ShouldHave(HttpStatusCode expectedStatusCode) | |
{ | |
_observer.ShouldHave(expectedStatusCode); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment