title: Facing issue while switching between windows using testcafe
body: <p>I am able to switch from one window to 2nd window but not able to switch from 2nd window to 3rd window when all windows are open. testcafe not able to open 3rd window.getting this image <a href="https://i.stack.imgur.com/fKKtd.png" rel="nofollow noreferrer">enter image description here</a>. while testcafe tries to open 3rd window from 2nd window.
  using this code for switching between windows:-
  const y=await ClientFunction(() =&gt; window.location.pathname)()
  await t.switchToWindow(f =&gt; f.url.pathname === y)</p>