Working version. Todo: Make selenium hub addres optional.