Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

107
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!