nathanl

nathanl

A tool to help LLMs write and debug Playwright tests

This isn’t an Elixir library, but if you’re testing with phoenix_test_playwright | Hex , you might like a new tool I recently made.

When your tests fail, you probably record traces and open the GUI viewer to diagnose the problem. https://skills.sh/nathanl/playwright-trace-debugging/playwright-trace-debugging (or https://www.npmjs.com/package/pwtrace directly) gives your LLM command-line tools to inspect those traces itself. It can find out what step failed, drill in to inspect the DOM and/or screenshots, and (if you used step/3 - PhoenixTest.Playwright — PhoenixTestPlaywright v0.15.0 ) locate the offending test code.

Overall, this lets the LLM do more to write and debug Playwright tests autonomously.

Where Next?

Popular in AI / LLMs Top

DaAnalyst
Exactly. A bit off topic, but I think the issue with the machines is they don’t bear any consequences. And even if they did one day, the...
New
DaAnalyst
Note: Not a strictly Elixir question but relates to us as well. A year or so ago I asked Grok (or ChatGPT, can’t remember) what would ha...
New
Joser
Claude Code Plugin for Elixir: Custom Skills and Hooks for Better Code Quality I’ve been experimenting with Claude Code for Elixir devel...
New
onnimonni
Hey, I’ve been extensively using claude code for backend development and data wrangling in the last 6 months and it has worked very well...
New
dimamik
OpenAI published a repo built primarily with Elixir (96.1%). https://github.com/openai/symphony https://github.com/openai/symphony/blob...
New
ken-kost
Agreed; I just want to add that IMO Ash amplifies this even further. Especially since the dawn of usage rules. :cowboy_hat_face:
New
sergio
Smart people online are talking about loops. Frankly I don’t understand what these things are in terms of tangibles. I use opencode a...
#ai
New

Other popular topics Top

Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New

We're in Beta

About us Mission Statement