Fixed crash that sometimes occurs in session.reset! and added better error messages for driver's visit and current_url methods