maestro/tests/fixtures/browser-macros/no-frontmatter.js
clade 7049a874f3 feat: initial public release (MAESTRO v0.1.0)
Open-source release of MAESTRO, an agent orchestration platform that runs
LLM-driven tasks through sandboxed tools, with a web UI. Apache-2.0.
See README.md and docs/ (getting-started, configuration, architecture).
2026-06-03 04:01:14 +00:00

15 lines
419 B
JavaScript

/**
* Browser-macro without frontmatter. Verifies the playwright runtime doesn't
* insist on session_profile_id when the script doesn't ask for one.
*/
async function main({ context }) {
const page = await context.newPage();
try {
await page.goto('data:text/html,<title>hello</title><body>no-session</body>');
return await page.title();
} finally {
await page.close();
}
}
module.exports = main;