<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ymotongpoo</author_name>
  <author_url>https://blog.hatena.ne.jp/ymotongpoo/</author_url>
  <blog_title>YAMAGUCHI::weblog</blog_title>
  <blog_url>https://ymotongpoo.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>Selenium</anon>
  </categories>
  <description>はじめに 日常的にやってる作業を自動化するためにSeleniumを使っているわけだけど、どうでもいいことで無駄なハマり方をしたのでメモしておく。基本的にChrome Driverしか使ってないので他のブラウザの挙動は知らない。 画面外にあるボタンをクリックする 「要素がクリックできる状態になったらクリックする」というコードを最初適当に書いていたけれど、それだとエラーが出てクリックできなかったので、なぜかなーと思っていた。 たとえばこういう感じでコードを書いて実行すると button_path = '//path/to/xpath' WebDriverWait(driver, 10).until…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fymotongpoo.hatenablog.com%2Fentry%2F2017%2F09%2F30%2F153959&quot; title=&quot; 画面外にあるダウンロードボタンを押してファイルを取得する - YAMAGUCHI::weblog&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>2017-09-30 15:39:59</published>
  <title> 画面外にあるダウンロードボタンを押してファイルを取得する</title>
  <type>rich</type>
  <url>https://ymotongpoo.hatenablog.com/entry/2017/09/30/153959</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
