How to check using WatiN that a certain URL is served?
I want to make sure that when the user clicks a button he is redirected to a certain page. I am not sure how I can use watiN to see if the page is se开发者_StackOverflow社区rved or not.
IE.Current.Url
shows the url of the previous page.
Form a quick search, IE.LocationURL should give you what you need.
精彩评论