Small framework on Selenium 2 with php