How to access iFrames and nested iFrames in k6 browser

Hi k6 browser team,

I’m following your docs for iFrames Frame.

How do I enter an iFrame if I’m originally outside of it? I know playwright has FrameLocator but I cant find one that is similar for k6. Do you have a sample test that does iFrames?


Hi @icedlatte,

Please take a look at this answer.

I also suggest waiting until August 14th for our new version that supports Shadow DOM (in case it may be related) or cloning the repository from here.