Browse html pages with php, selenium and phantomjs