Clicking on an element in an Iframe within an iframe error

Hello,
I’m getting an error attempting to click an item in an iframe within another iframe and I was wondering if someone could help with this. I could be doing something wrong, but I can’t figure out.

Here is my code.(this works in Playwright, by the way - this is what we’re trying to move to k6 browser from)

this.outsideFrame = this.page

  .locator(\`\[src^="${this.url}"\]\`)

  .contentFrame();

this.insideFrame = this.outsideFrame

  .locator('#looker-iframe')

  .contentFrame();

I’m able to do something like this successfully

const locator = outsideFrame.getByText('Dashboard Menu', { exact: true });

But as soon as I try to anything click inside the insideFrame,

internal:control=enter-frame >> #looker-iframe >> internal:control=enter-frame >> //div[text()=“Dashboard actions”] | //span[text()=“Dashboard actions”] >> ..": translating point to page: getting frame element: getting frame owner: Frame with the given id does not belong to the target. (-32000) executor=shared-iterations scenario=ui

Any ideas or pointers?

Very much appreciate it!

Oh, I’m using k6 version 1.7.1