const frames = page.frames(); console.log('Available frames:', frames.map(frame => frame.name()));
Chrome/Webkit results: Available frames: [ '', '', '', '', 'tiny-angular_10319515521695916969943_ifr' ]
Firefox result: Available frames: [ '', 'CollectJSInlinecvv', 'CollectJSInlineccnumber', 'CollectJSInlineccexp', '' ]
This thread is trying to answer question "Why does page.frames() show the target iframe in Chrome/Webkit but not in Firefox?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].