async function screenshot(testInfo, page) {
    const screenshot = await page.screenshot();
    await testInfo.attach("screenshot", {
        body: screenshot,
        contentType: "image/png"
    });
}
@param {TestInfo} testInfo Test info
@param {Page} page Page
@returns {Promise<void>}