Open the lightbox from a picture or a link of a gallery, named by its caption, the alternative text of its picture or its text, and wait until the lightbox is open and its picture has stopped moving (itemshown: the lightbox sends shown while its picture still slides in).
Examples
When I open the lightbox from the "The market on Saturday" picture
When I open the lightbox from the "The harbour at dawn" picture
When I open the lightbox from the "The old bridge" link
When we open the lightbox from the "The garden in spring" picture
When I open the lightbox from the "The old bridge" picture
Pattern
When(/^(?:I |we )?open the lightbox from the "([^"]*)" (picture|link)$/, …)
Part of @webship-js/uikit-steps (github.com/webship/uikit-steps), a step pack for Webship-js 2.0.x.