Rayrun
← Back to Discord Forum

page.frames() shows target iframe in Chrome/Webkit but not in Firefox

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?"

0 replies

Related Discord Threads

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

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 luc@ray.run.