feat: initial public release (MAESTRO)
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* 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;
|
||||
Reference in New Issue
Block a user