import { extractMarkdown } from "@intuned/browser";
export default async function handler(params, page, context){
await page.goto("https://example.com");
const headerLocator = page.locator('h1')
const markdown = await extractMarkdown({ source: headerLocator })
console.log(markdown); // Outputs the markdown representation of the header
}