Search the library on screen with its search box (it swaps its results in, and the step waits for them).
Examples
When I search the image library for "loaf"
When I search the document library for "Cornbread"
And we search the image library for "Webship test"
When I search the document library for "Webship test"
When I search the image library for "Anadama"
Pattern
When(/^(?:I|we) search the (image|document) library for "([^"]*)"$/, …)
Part of @webship-js/wagtail-steps (github.com/webship/wagtail-steps), a step pack for Webship-js 2.0.x.