When I search the site for "harbour"

Search the site with its search page's box: the address takes the query (?q=...) and the page lists what it found.

Examples

When I search the site for "harbour"
When I search the site for "lighthouse"
And I search the site for "no such post anywhere"
When I search the site for "river"
When I search the site for "Digital"

Pattern

When(/^I search the site for "([^"]*)"$/, …)

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