<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>selenium</anon>
  </categories>
  <description>毎回・毎回ログイン処理を待つのを面倒くさいんですよね。 テスト時はログイン処理が必要だけど、テスト書いてる時は省略したいですよね なので、プロファイルを指定すれば前回のCookieやらパスワード保存が使える それなりに便利 #!/usr/bin/env ruby ## require 'selenium-webdriver' caps = Selenium::WebDriver::Remote::Capabilities.chrome( &quot;chromeOptions&quot; =&gt; { &quot;args&quot; =&gt; [&quot;--user-data-dir=/Users/takuya/Desktop/sample-p…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2016%2F07%2F01%2F165344&quot; title=&quot;ruby selenium webdriverでプロファイルを毎回同じものにする。 - それマグで！&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>2016-07-01 16:53:44</published>
  <title>ruby selenium webdriverでプロファイルを毎回同じものにする。</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2016/07/01/165344</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
