Grabbing data from a dynamic navigation website with Puppeteer

I previously posted my issue in a separate thread without receiving any responses or suggestions. Consequently, I am presenting it in a different format to seek assistance.

The primary objective of my script is to obtain a list of matches from a specific webpage. To validate the script’s functionality, I initially conducted a manual test using the Chrome Developer Console:

Chrome Console test Results

In my attempt to achieve this objective using Puppeteer, I formulated the following script:

const puppeteer = require('puppeteer')
const fs = require('fs/promises')



async function start()
{
    const browser = await puppeteer.launch({headless: false, ignoreHTTPSErrors: true}) // Open browser in non-headless mode for visibility

const page = await browser.newPage()
await page.goto("https://tickets.fcbayern.com/internetverkauf/EventList.aspx")



const names = await page.evaluate(() => {
    return Array.from(document.querySelectorAll('.fcb-gr-8 .fcb-row strong')).map(x => x.textContent.trim())
})
await fs.writeFile("names.txt", names.join("rn"))


}

start()

Ther error which I got was:

throw new Error(‘Execution context was destroyed, most likely because of a navigation.’);

While executing the code, I observed that the last URL accessed just before encountering the error was:
“https://tickets.fcbayern.com/internetverkauf/start.aspx?error=login_required”

URL fired just before Exception

Hence, I conjectured that the issue might stem from a lack of authentication. This assumption led me to initiate a previous thread seeking guidance on how to address login-related challenges.

How to get past the login page and handle Redirections with puppeteer?

If anyone could offer advice or assistance in ensuring the correctness of my approach, I would greatly appreciate it.