update find element for trip type

change getText to getAttribute