bugfix in test resuming after browser capturing