Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

150
Vistas
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 la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda