Mastering Playwright | Skip Login using Storage State | QA Automation Alchemist

Поділитися
Вставка
  • Опубліковано 3 лют 2024
  • This video will explain about how to save authenticate state and use it in other tests without logging in explicitly.
    Reference:
    playwright.dev/docs/codegen
    github.com/MukunthanML/enterp...
    Example:
    npx playwright codegen github.com/microsoft/playwright --save-storage=auth.json
    npx playwright codegen --load-storage=auth.json github.com/microsoft/playwright
  • Наука та технологія

КОМЕНТАРІ • 1

  • @gdd546
    @gdd546 3 місяці тому

    how would this work with vercel authentication? i can automate the login, but then vercel sends me an email that i need to click on for verification before it redirects and logs me in