Overview
This node, named Playwright List Sessions Tool, lists all active browser sessions using the Playwright API. It is useful in automation workflows where monitoring or managing active browser sessions is required, such as in testing or web scraping scenarios.
Use Case Examples
- A user wants to retrieve all currently active browser sessions to monitor their status or perform actions on them.
- An automation workflow needs to log or analyze active sessions for debugging or reporting purposes.
Output
JSON
responsesuccess- Indicates if the session listing was successful (boolean)sessions- Array containing details of all active browser sessions
Dependencies
- Requires an API key credential for Playwright API authentication to access session data.
Troubleshooting
- Common issues include failure to authenticate with the Playwright API due to invalid or missing credentials, resulting in errors when attempting to list sessions.
- Network connectivity problems can cause failures in retrieving session data.
- Error messages like 'Failed to list sessions' indicate issues in fetching session information, which can be resolved by checking API credentials and network status.