[{"data":1,"prerenderedAt":164},["ShallowReactive",2],{"navigation_docs":3,"-providers-playwright":88,"-providers-playwright-surround":161},[4,48],{"title":5,"path":6,"stem":7,"children":8,"icon":47},"Guide","\u002Fguide","1.guide\u002F01.index",[9,11,15,19,23,27,31,35,39,43],{"title":10,"path":6,"stem":7},"Getting Started",{"title":12,"path":13,"stem":14},"Scrape","\u002Fguide\u002Fscrape","1.guide\u002F02.scrape",{"title":16,"path":17,"stem":18},"Screenshots and PDFs","\u002Fguide\u002Fcaptures","1.guide\u002F03.captures",{"title":20,"path":21,"stem":22},"Links and accessibility and extract","\u002Fguide\u002Freading","1.guide\u002F04.reading",{"title":24,"path":25,"stem":26},"Crawl and search","\u002Fguide\u002Fcrawl","1.guide\u002F05.crawl",{"title":28,"path":29,"stem":30},"Sessions","\u002Fguide\u002Fsessions","1.guide\u002F06.sessions",{"title":32,"path":33,"stem":34},"CLI","\u002Fguide\u002Fcli","1.guide\u002F07.cli",{"title":36,"path":37,"stem":38},"MCP and Pi and OMP","\u002Fguide\u002Fagents","1.guide\u002F08.agents",{"title":40,"path":41,"stem":42},"Errors","\u002Fguide\u002Ferrors","1.guide\u002F09.errors",{"title":44,"path":45,"stem":46},"Custom providers","\u002Fguide\u002Fcustom","1.guide\u002F10.custom","i-lucide-book-open",{"title":49,"path":50,"stem":51,"children":52,"icon":87},"Providers","\u002Fproviders","2.providers\u002F00.index",[53,55,59,63,67,71,75,79,83],{"title":54,"path":50,"stem":51},"Every provider",{"title":56,"path":57,"stem":58},"Steel","\u002Fproviders\u002Fsteel","2.providers\u002F01.steel",{"title":60,"path":61,"stem":62},"Browserbase","\u002Fproviders\u002Fbrowserbase","2.providers\u002F02.browserbase",{"title":64,"path":65,"stem":66},"Kernel","\u002Fproviders\u002Fkernel","2.providers\u002F03.kernel",{"title":68,"path":69,"stem":70},"Browserless","\u002Fproviders\u002Fbrowserless","2.providers\u002F04.browserless",{"title":72,"path":73,"stem":74},"Hyperbrowser","\u002Fproviders\u002Fhyperbrowser","2.providers\u002F05.hyperbrowser",{"title":76,"path":77,"stem":78},"Anchor","\u002Fproviders\u002Fanchor","2.providers\u002F06.anchor",{"title":80,"path":81,"stem":82},"Cloudflare","\u002Fproviders\u002Fcloudflare","2.providers\u002F07.cloudflare",{"title":84,"path":85,"stem":86},"Playwright","\u002Fproviders\u002Fplaywright","2.providers\u002F08.playwright","i-lucide-server",{"id":89,"title":84,"body":90,"description":154,"extension":155,"links":156,"meta":157,"navigation":158,"path":85,"seo":159,"stem":86,"__hash__":160},"docs\u002F2.providers\u002F08.playwright.md",{"type":91,"value":92,"toc":150},"minimark",[93,97,110,132,147],[94,95],"provider-facts",{"name":96},"playwright",[98,99,100,101,105,106,109],"p",{},"Playwright is the one that runs here. It launches the Chrome, Chromium or Edge already on your ",[102,103,104],"code",{},"PATH",", or the Chromium that ",[102,107,108],{},"npx playwright-core install chromium"," downloads, and never needs a key. It's last in the registry, so it's what you get when nothing else is configured.",[98,111,112,115,116,119,120,123,124,127,128,131],{},[102,113,114],{},"scrape()"," returns everything at once: ",[102,117,118],{},"title",", ",[102,121,122],{},"html",", the page's ",[102,125,126],{},"innerText"," as ",[102,129,130],{},"text",", and every link. The tool picks the text, which is why its answer in the recording is the plain words of the page.",[98,133,134,135,138,139,142,143,146],{},"Sessions live in your process. A session opened by one CLI command is gone when that command exits, so ",[102,136,137],{},"browsers session create -p playwright"," is mostly a party trick. In code, ",[102,140,141],{},"createSession()"," keeps the browser until ",[102,144,145],{},"releaseSession()",".",[98,148,149],{},"No CDP URL, since the browser is yours already. And no bill, which is nice.",{"title":151,"searchDepth":152,"depth":152,"links":153},"",2,[],"Chromium on your own machine. No key and no account and no bill. Scrape and PDFs and links and crawl locally","md",null,{},true,{"title":84,"description":154},"yFSR2j_p4RsD4sUXaTwSZXik9UOTr8cIeIOlB14ySaA",[162,156],{"title":80,"path":81,"stem":82,"description":163,"children":-1},"Browser Run with a route per output and crawl jobs and links and extract and the accessibility tree. Needs CF_API_TOKEN and CF_ACCOUNT_ID",1790685115878]