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,
})));
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())
}