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

560
Visualizações
'No frame for given id found' in puppetter

i am using puppetter for web scrapping ; matchesLinks is an array that contains urls of some games. my code looks like :

for (let i = 0; i < matchesLinks.length; i++) {
   await page.goto(matchesLinks[i]);
   await page.goto(matchesLinks[i]);
   await new Promise((r) => setTimeout(r, 6000));
 }

after going to 1 or 2 URL i get error: originalMessage: 'No frame for given id found' anyone can help my why i am getting this error

over 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

I have been trying to solve the issue since 3 days now.. no luck at all.. Though the issue disappears completely if you set "headless: true" at browser's launch options.. So this issue is only associated with "headless: false" setting.

For those who try to help. The issue happens when using "page.goto" to access a website that have iframes, and redirect requests (Trying to abort those requests, or waituntil domcontentloaded won't solve the issue if you were wondering). E.g. it happens every time when trying to access "https://www.whatismyip.com/"

over 4 years ago · Santiago Trujillo Relatório

0

You might be facing the issue described here: https://github.com/puppeteer/puppeteer/pull/7848

You may try to downgrade puppeteer version to 11.0.0 as a workaround

over 4 years ago · Santiago Trujillo 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