{"repo":"ftes/phoenix_test_playwright","free":true,"listed":false,"github":"https://github.com/ftes/phoenix_test_playwright","clone":"git clone https://github.com/ftes/phoenix_test_playwright.git","description":"Execute PhoenixTest cases in an actual browser via Playwright.","language":"Elixir","stars":85,"topics":["liveview","phoenix","playwright"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"PhoenixTestPlaywright Execute PhoenixTest cases in an actual browser via Playwright. Please get in touch with feedback of any shape and size. Enjoy! Freddy. P.S. Looking for a standalone Playwright client? See PlaywrightEx. Getting started 1. Add dependency 2. Install playwright and browser 3. Config 4. Runtime config Graceful ExUnit and application shutdown waits for browser contexts and browsers to close. Abrupt termination such as SIGKILL cannot run this cleanup. 5. Use in test 6. (Optional) Enable concurrent browser tests with async: true : see Ecto Sandbox 7. (Optional) LLM usage rules for AI coding agents (via usage rules) Then run mix usage rules.sync . Reference project github.com/ftes/phoenix test playwright example The last commit adds a feature test for the phx gen.auth registration page and runs it in CI (Github Actions). Configuration See PhoenixTest.Playwright.Config for more details. You can override some options in your test: Remote Playwright Server Connect to a remote Playwright server via WebSocket instead of spawning a local Node.js driver. Useful for Alpine Linux containers (glibc issues) or containerized CI. The browser type is automatically appended as a query parameter (e.g., ?browser=chromium ). Traces Playwright traces record a full browser history, including 'user' interaction, browser console, network transfers etc. Traces can be explored in an interactive viewer for debugging purposes. Manually Automatically for failed tests in CI Step annotations","default_branch":null,"files":null,"tree":[],"storefront":"/r/ftes","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ftes/phoenix_test_playwright/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}