Try and sleep between selenium and phantomjs