const {chromium}=require('playwright'),fs=require('fs'),path=require('path'),assert=require('node:assert/strict'); (async()=>{const browser=await chromium.launch();try{const page=await browser.newPage();await page.setContent('

');await page.evaluate(()=>{window.readers=[];window.FileReader=class{abort(){}readAsText(file){this.name=file.name;readers.push(this);}};});const view=fs.readFileSync(path.resolve(__dirname,'../../PlotLine/Views/Imports/Index.cshtml'),'utf8');await page.addScriptTag({content:[...view.matchAll(/