When I search the site for "pricing"

Search the site: type the term into the search field and press Enter, then wait for the results page.

Examples

When I search the site for "pricing"
And I search the site for "forms"
When we search the site for "HubSpot"
And search the site for "webship-js"
When I search the site for "zzzzqqq"

Pattern

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

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