Layout and functional testing framework for websites