twd-js Tool Lets Developers Attach UI Screen Recordings to Pull Requests
As AI tools accelerate code writing, reviewing frontend behavior has become a growing bottleneck in the pull request process, often requiring reviewers to manually pull branches and run dev servers. The open-source tool twd-js addresses this by recording browser-based test runs as video files that can be embedded directly in PR descriptions. Unlike post-processing approaches that slow down footage and reduce frame rates, twd-js paces execution from within the page itself, inserting natural pauses after meaningful interactions. This keeps recordings smooth at 30 FPS while making UI flows easier for human reviewers to follow. Developers can configure the pacing via a command-line flag, with values between 200ms and 500ms recommended for most review scenarios.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in