<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>castaneai</author_name>
  <author_url>https://blog.hatena.ne.jp/castaneai/</author_url>
  <blog_title>castaneaiのブログ</blog_title>
  <blog_url>https://castaneai.hatenablog.com/</blog_url>
  <categories>
    <anon>puppeteer</anon>
  </categories>
  <description>PuppeteerはJavascript内でGoogle Chrome（のようなもの）を起動できるすごいツールで ブラウザを使って手動でやっていた面倒な作業が自動化できたりする。 しかし、実装ミスやサイトの仕様で特定の要素が現れるのを待機したまま止まってしまい、タイムアウトなんてことがよくある。 TimeoutError: waiting for selector &quot;#element&quot; failed: timeout 30000ms exceeded こういうときに「中で何が起こったのか？」エラーメッセージだけではわかりづらいので、ブラウザの現在状態を見たくなる。 WindowsやMacであれ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcastaneai.hatenablog.com%2Fentry%2F2020%2F12%2F28%2F171117&quot; title=&quot;Puppeteerで何かおかしいときはとりあえずスクショを出す - castaneaiのブログ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-12-28 17:11:17</published>
  <title>Puppeteerで何かおかしいときはとりあえずスクショを出す</title>
  <type>rich</type>
  <url>https://castaneai.hatenablog.com/entry/2020/12/28/171117</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
