You could add some meta tags to html to indicate page type etc and validate against these. Or validate vs css classes instead of actual content that an editor might change.
Adding a few extra css classes to html makes Selenium test much more stable.
In our epi project we are using Selenium webdriver tests.
What we want to do is get the "title" of a page - and check if it's correct.
Right now we have a app.config file where these are defined (just as strings)
An example can be seen below:
So when we go to the cart page we want to check if it's titte is "Varukorg".
Our question is, if it is possible to get the "correct epi-page" out in app.config file so that we can call thats "displayname" or something along those lines?