Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

518
Vistas
How to I select a popup window in cypress?

I don't need to create a window, I need to select one that the browser automatically opened.

How can I do this in cypress?

it.only('Login with Torus', () => {
        cy.visit('http://localhost:3000/auth');
        cy.get('button.button-torus span').click();
        // need to target new popup window here from 3rd party auth
        cy.get('input#passwordless-email').type('ettinger+test@gmail.com');
    });

This is a 3rd party auth service called Torus. https://app.tor.us/

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

From Cypress Docs

Permanent trade-offs:

  • There will never be support for multiple browser tabs.
  • You cannot use Cypress to drive two browsers at the same time.

"Because Cypress runs in the browser, it will never have multi-tabs support. We do have access to the browser automation APIs to actually switch tabs, but there is no reason for us to ever expose them."

Same doc also leads to few examples on working this around:

  • Tab Handling and Links
  • Logging In
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda