<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yebis0942</author_name>
  <author_url>https://blog.hatena.ne.jp/yebis0942/</author_url>
  <blog_title>ベースマキナ エンジニアブログ</blog_title>
  <blog_url>https://tech.basemachina.jp/</blog_url>
  <categories>
  </categories>
  <description>こんにちは、yebis0942です。 先日、@basemachina/bm-view-previewというツールをnpmで公開しました。ベースマキナのビュー機能のソースコードをローカル環境で編集しながら、Next.jsのnpm run devのようにライブプレビューで動作を確認できるツールです。 ライブプレビューはPlaywrightによってコントロールされたChromiumで表示しています。PlaywrightをE2Eテストや自動化以外の用途で使うのは珍しい事例かと思いますので、その背景と実装の裏側についてご紹介します。 ビュー機能とは ローカル環境で開発したい bm-view-previe…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.basemachina.jp%2Fentry%2Flive-preview-with-playwright&quot; title=&quot;Playwrightでライブプレビューツールを実装する - ベースマキナ エンジニアブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/y/yebis0942/20240830/20240830171916.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-08-30 17:34:02</published>
  <title>Playwrightでライブプレビューツールを実装する</title>
  <type>rich</type>
  <url>https://tech.basemachina.jp/entry/live-preview-with-playwright</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
