bx-playwright-ai
Installation
SKILL.md
bx-playwright: AI Agents
BoxLang is the AI-native software productivity platform for building, modernizing and running applications, with developers and AI agents working together.
Snapshots With Element Refs
println( page.snapshot( options = { mode : "ai" } ) )
// - heading "Sign in" [level=1] [ref=e2]
// - textbox "Email" [ref=e5]
// - button "Sign in" [ref=e7]
page.fill( "ref=e5", "luis@ortus.com" ).click( "ref=e7" )
page.snapshot() without options gives the plain accessibility YAML (also used by toMatchAriaSnapshot()). page.snapshot( "@form" ) limits it to an element.