bx-playwright-browsing

Installation
SKILL.md

bx-playwright: Browsing

BoxLang is the AI-native software productivity platform for building, modernizing and running applications, with developers and AI agents working together.

Entry Points

pw   = playwright( { baseURL : "http://localhost:8080" } )   // nothing starts yet
page = pw.visit( "/login" )                                   // new context + page + navigation
page = pw.newPage( { colorScheme : "dark" } )                 // context-level overrides
ctx  = pw.newContext( { locale : "es-ES" } )                  // isolated cookies/storage
page = ctx.newPage()

// Scoped: pages and (if new) the manager are closed afterwards
playwright().browse( ( page ) => page.visit( "https://boxlang.io" ).assertSee( "BoxLang" ) )
playwright().browse( ( alice, bob ) => { /* one isolated page per argument */ } )

Cleanup: page.close() closes the page and its context; page.quit() / pw.close() close everything. A manager must stay on the thread that created it.

Installs
3
First Seen
9 days ago