Wait for two elements that appear at different times
Automation taskMediumAsked in: Infosys
Interviewers ask: "How do you handle AJAX content that loads after the page?" AJAX means the page fetches data in the background. Give each element its own explicit wait for its own condition, so the test moves on as soon as the page allows.