Choose a tab, the way a person does, once the page has hydrated (a click on a tab before that is lost), and wait until the tab is selected in every group of tabs of the page that has it: tabs that share a group choose together, and the site remembers the choice of a group in this browser.
Examples
When I choose the "macOS" tab
And I choose the "TypeScript" tab
When we choose the "Windows" tab
When choose the "Linux" tab
And I choose the "JavaScript" tab
Pattern
When(/^(I |we )*choose the "([^"]*)?" tab$/, …)
Part of @webship-js/docusaurus-steps (github.com/webship/docusaurus-steps), a step pack for Webship-js 2.0.x.