-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
Issue :
There is currently no quick way to see the "state" of the current browser session (URL, title, number of open tabs) without running a full snapshot or tab-list. Improvement: Add a status command that provides a high-level overview of the current session.
File Path : playwright-cli/README.md (to document) and the command registration logic.
Proposed Logic : Create a new command that returns the current URL, page title, and viewport size.
Implementation :
// Command: status
const status = {
url: page.url(),
title: await page.title(),
tabs: (await page.context().pages()).length,
viewport: page.viewportSize()
};
console.table(status);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels