Sure but Željko says "then I write a test, the first check that I
usually write is that the browser is at the correct page"
This is something on which Zeljko and I disagree. Especially in Mediawiki where URL schemes are highly malleable, I don't think checking for some string in a URL is very useful. URLs don't have anything to do with function, and we are creating functional tests here.