playwright-auth

Save browser authentication states for websites using Playwright.

Updated Feb 28, 2026
One-click install
npx skills add https://github.com/ramirlm/skillshare-ramir --skill playwright-auth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-auth
Source: https://github.com/ramirlm/skillshare-ramir/tree/main/playwright-auth
Command: npx skills add https://github.com/ramirlm/skillshare-ramir --skill playwright-auth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of saving browser authentication states, allowing you to log in once and reuse credentials across sessions without manual re-entry.

Core Features & Use Cases

  • Persistent Authentication: Saves cookies and local storage for websites, enabling seamless reuse of login sessions.
  • Cross-Site Compatibility: Works with various pre-configured sites like Twitter, LinkedIn, and GitHub, and supports custom sites.
  • Use Case: Log into your social media accounts once, save the authentication state, and then use that state in automated scripts or browser instances to bypass login prompts.

Quick Start

Use the playwright-auth skill to save the login state for twitter.

Frequently Asked Questions about playwright-auth

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I save browser login sessions with Playwright for automation?

Playwright saves browser authentication states by storing cookies and local storage after a manual login. You can reuse this saved session data in future automated scripts to bypass login prompts on sites like Twitter, LinkedIn, and GitHub.

Can I reuse authentication states for custom websites in Playwright?

Yes, while it comes pre-configured for sites like Twitter, LinkedIn, and GitHub, the tool also supports custom websites. You can save and reuse the authentication state for any custom site you need to automate.

What do I need to run Playwright authentication scripts?

You need Python 3 installed, along with the Playwright library and the Chromium browser. These are required to run the scripts that automate the browser and save your login session data.

Does persistent authentication work across different browser automation scripts?

Yes, persistent authentication works across different scripts by saving your session data to a reusable file. Once cookies and local storage are captured, any subsequent Playwright script can load this state to maintain logged-in access.

Why does my Playwright script keep prompting for login on social media sites?

Playwright scripts prompt for login when session data is not saved between runs. By saving the authentication state once, you can load these cookies and local storage into future scripts to bypass repeated login prompts and maintain access.