When I wait for the page to be still

Wait for the page to be still: no page load in progress, no request in flight, no navigation of the app in progress, no frame asked for, no animation or transition running, the page wired up when it can be, and nothing changed for two frames.

Examples

When I wait for the page to be still
And I wait for the page to be still
When we wait for the page to be still
Then I wait for the page to be still
Given I wait for the page to be still

Pattern

When(/^(?:I |we )?wait for the page to be still$/, …)

Part of @webship-js/vue-steps (github.com/webship/vue-steps), a step pack for Webship-js 2.0.x.