Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

109
Visualizações
Cypress url not changing on click element with no href

Scenario 1 : on click element having href attribute

when I try to click on element with following html then I am redirected to a new page and the browser URL changes as well

<a href="https://www.abc/page1" class="xyz">Page1</a>

Scenario 2 : on click angular element not having href attribute

But when I click on element with following html then I am redirected to desired page but the browser url does not changes

<label _ngcontent-vnr-c10="">NavigateToNextPage</label>

Because of this, Even when the UI content is loaded, Cypress is not able to locate elements of new page.

Can someone help me with resolution of why the URL is not changed but page content is changed ??

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda