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

151
Views
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
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!