непосредственно перед тем как
• Just before the valve started to oscillate, the number of bubbles increased.
Русско-английский научно-технический словарь• Just before the valve started to oscillate, the number of bubbles increased.
Русско-английский научно-технический словарь