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

367
Visualizações
Cypress can't detect any elements on a particular site

I've started using Cypress (v10.2.0) as an end to end testing framework and wanted to try out logging onto a banking site and filling the input fields.

However, when my Cypress opens https://www.anytimebanking.ulsterbank.co.uk with either Chrome (v102) or Edge (v102), it can't seem to find any site elements, the playground doesn't work and in addition throws a bunch of extension errors:

enter image description here

I am not sure why this is happening as all the other sites I've tried work as expected, can find the page body and any other elements and don't throw any console errors.

Any help would be appreciated, cheers!

Spec file is as follows:

describe('Online Banking spec', () => {
  it('opens the site', () => {
    cy.visit('https://www.anytimebanking.ulsterbank.co.uk')
  })
})
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Actually your entire app and the modal window is contained inside an whose id="ctl00_secframe". So you need to make use of Iframe in cypress to close the Privacy window as well as to fetch other elements.

You can also refer : https://www.cypress.io/blog/2020/02/12/working-with-iframes-in-cypress/

about 4 years ago · Juan Pablo Isaza Relatório
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