Open the public link of a file or folder as a visitor: the link's address read from its entry in the Sharing tab, then a browser of its own with no cookie of the site (a person who got the link). The steps after it work in that browser.
Examples
When I open the public link of "team-photo.png" as a visitor
When I open the public link of "Project files" as a visitor
When we open the public link of "meeting-notes.md" as a visitor
And I open the public link of "annual-report.pdf" as a visitor
When I open the public link of "budget.txt" as a visitor
Pattern
When(/^(?:I|we) open the public link of "([^"]*)" as a visitor$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.