Hi, Ideally, K6 opens a new tab when I click on login button on my application(which doesn’t happen in ideal scenario. However, I user browserContext to handle the new tab and I was able to perform the user actions but while I tried to access the iframe, I couldn’t use the ‘frame’ option with newTab. it only allows frames for some reason.
Pasted the syntax which I’m trying to use and the contents were modified for obvious reasons. Could you please suggest on this
const [newTab] = await Promise.all([
browserContext.waitForEvent('page'),
page.locator('a[href="/my_messages.php"]').click(),
]);