I’m writing Playwright tests for a Mendix application where each click triggers loading a new page, but the URL does not change (navigation happens client-side). The challenge: Playwright starts interacting with the next element too early. Even though unique elements on the new page are visible, Mendix is still running microflows in the background. This causes flakiness because the page isn’t truly ready yet. What I’ve tried so far: Waiting for unique elements to be visible Waiting for network requests to finish Wrapping code in retry blocks Using assertions after navigation None of these fully solve the issue because Mendix microflows finish later than the spinner disappears, and this is never a problem for a human user but breaks automation. Question:Has anyone found a reliable way to make Playwright wait until a Mendix page is fully ready (including microflows) before continuing? Ideally without hardcoded timeouts.