Log in as a guest, as a person does: the "Log in as guest" button of the login page (shown when the site allows guest access).
Examples
When I log in as a guest
When we log in as a guest
And I log in as a guest
Given I log in as a guest
Then I log in as a guest
Pattern
When(/^(I |we )*log in as a guest$/, …)
Part of @webship-js/moodle-steps (github.com/webship/moodle-steps), a step pack for Webship-js 2.0.x.