Link

I switch to the __ window

Switch control to the nth open window/tab.

Pattern

^(?:|I )switch to the (first|last|[0-9]+(?:th|st|rd|nd)) window$	

Parameters

Position Description Value Type Restrictions
1 positional identifier string May be first, last, #th, #st, #rd, or #nd.

Examples

Given I switch to first window
And switch to the 2nd window
And switch to the 3rd window
And switch to the 4th window
And switch to the 21st window
And switch to the last window