johndoe
johndoe

Reputation: 21

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 served or not.

IE.Current.Url shows the url of the previous page.

Upvotes: 0

Views: 946

Answers (1)

Bruce McLeod
Bruce McLeod

Reputation: 1382

Form a quick search, IE.LocationURL should give you what you need.

Upvotes: 1

Related Questions