const fs = require('fs'); // Lire le fichier JSON const filePath = 'c:\\Users\\LENOVO\\DavidKRK.github.io\\playwright-report\\report.json'; let jsonData = JSON.parse(fs.readFileSync(filePath, 'utf8')); // Supprimer les doublons const uniqueData = Array.from(new Set(jsonData.map(JSON.stringify))).map(JSON.parse); // Écrire le contenu nettoyé dans le fichier fs.writeFileSync(filePath, JSON.stringify(uniqueData, null, 2), 'utf8'); console.log('Les doublons dans le fichier JSON ont été nettoyés.'); * Declares the document type as HTML5, ensuring proper rendering and standards compliance. */ * * @description Specifies the HTML5 document type, which helps browsers interpret and render the document correctly. */ /** * Sets the scrollbar gutter behavior for the HTML element. * * @description Configures the scrollbar to maintain a stable width on both edges, * preventing layout shifts when scrollbars appear or disappear. */ Playwright Test Report
```aspnetcorerazor