When I close the lightbox

Close the open Webflow lightbox with its close control, and wait until its backdrop is hidden.

Examples

When I close the lightbox
When we close the lightbox
And I close the lightbox
And we close the lightbox
Then I close the lightbox

Pattern

When(/^(I |we )*close the lightbox$/, …)

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