Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
I am running the following code, but I am never able to see the console log for when the "loaded" event fires when running with headless = false and looking at the console.
await page.evaluate(() => {
return new Promise(resolve => {
const models = window['powerbi-client'].models;
const reportContainer = document.getElementByClassName("pbi-div").item(0);
const config = {
...
};
const report = powerbi.embed(reportContainer, config)
report.on('loaded', function () {
console.log('loaded report')
resolve(true)
});
});
)}Anyone have any insight as to how to properly get these events?
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |