Assert the words of a search are (or are not) marked on the page a result opened (<mark> in the content), as the site does for a page opened from the search.
Examples
Then the words "firewall" should be marked on the page
And the words "version" should be marked on the page
But the words "firewall" should not be marked on the page
Then words "installation" should be marked on the page
And the words "port" should be marked on the page
Pattern
Then(/^(?:the )?words "([^"]*)?" should( not)* be marked on the page$/, …)
Part of @webship-js/docusaurus-steps (github.com/webship/docusaurus-steps), a step pack for Webship-js 2.0.x.