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

149
Visualizações
Puppeteer: Get url from embedded google maps into iFrame

I want to get a GoogleMaps link from embedded maps into the website. I used to be able to do it with the following code:

let urls = await element.$$eval('iframe', src => [].map.call(src, l => ({
        src: l.src,
    })));

Website example

Any suggestions on how to get the link that GoogleMaps frame would redirect you to will be appreciated.

Also tried iterating over frames, but all results were 'about:blank' which opens before the correct URL opens.

let frames = (await element.frames());
    for(let i = 0 ; i < frames.length ; ++i) {
        console.log(await frames[i].url())
    }
about 4 years ago · Santiago Gelvez
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