iframes, dynamic DOM changes, delayed elements and new windows — scenarios that need frame switching and robust waits.
Switch into the frame to interact with its button and read its message.
Elements appear, change text, and get enabled/disabled over time.
Content inside a shadow root — requires shadow-piercing locators.