synchronization, advanced wait, custom expected conditions