Qualitest interview question

how to handle sync issues in selenium