Language:
Free Online Dictionary|3Dict

见风使船

Source : CEDICT

to act as the occasion dictates/to see how the wind blows (idiom)