Updated PageObject framewrok to recognise the Error page.