The only thing that keeps this recording process alive is a
waitForSelector
step. As soon as a relevant selector will appear the recording will stop immediately.