107 days ago · 14 min read2703 words · Tech · hide · Fediverse post

We covered in the last blog post how to install bun, a new package manager. In this blog post, we will look into using bun to install a new Playwright framework. Create the Playwright FrameworkOnce I installed bun on my Windows PC and was up and running I created a new folder, "bun-create-playwright".I opened up that folder in VS Code, along with a new PowerShell terminal. In that terminal I entered:bun create playwright This activated the interactive Playwright installer that Playwright comes with. I selected I wanted it to create for me a TypeScript project, placing the tests in the default folder, tests, but I decided not to add a GitHub Actions workflow. I wanted to experiment with using GitLab. I chose it to set up and install all the browsers for me... which it did... using NPX, part of Node.Wait a second, when it comes to our Playwright framework, doesn't bun replace node?No. Bun might be a JavaScript runtime, a package manager, and a bundler shipped as a single software tool,…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town