<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jdg</author_name>
  <author_url>https://blog.hatena.ne.jp/jdg/</author_url>
  <blog_title>あと味</blog_title>
  <blog_url>https://taiju.hatenablog.com/</blog_url>
  <categories>
    <anon>Perl</anon>
    <anon>MovableType</anon>
  </categories>
  <description>MTの管理画面は、JavaScriptに依存した部分が結構多く、PhantomJS等のヘッドレスブラウザを使ったテストが必要になるケースがあります。 CasperJSや、Seleniumなど、いろいろなツールがありますが、MTの管理画面のロジックは、Perlで書かれているので、Perlで書けるのがベストです。Perlでデータの初期化とかしたいですからね。 Perlで書ける方法でツールを絞り込むと、現状では、Selenium::Remote::Driverを使うのが良い気がしています。 ということで、下記のようなテストを書いてみました。 テストの実行には、MTのGitHubリポジトリに含まれる、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaiju.hatenablog.com%2Fentry%2F20140501%2F1398902807&quot; title=&quot;PSGI + SeleniumでMTの管理画面のテストをする - あと味&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>http://cdn-ak.f.st-hatena.com/images/fotolife/j/jdg/20140501/20140501090135.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-05-01 09:06:47</published>
  <title>PSGI + SeleniumでMTの管理画面のテストをする</title>
  <type>rich</type>
  <url>https://taiju.hatenablog.com/entry/20140501/1398902807</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
