use selenium instead of phantomjs for tests