We shall explore the concept of web application testing through the verification of declarative constraints on the contents of its user interface --that is, DOM, CSS and behavioural properties. It turns out that a lot of non GUI (e.g. functional, security) problems can also be verified by observing the application's GUI.