2017-03-12 ssh接続先のUbuntuでFirefoxを複数起動し、Seleniumを使う Python Linux Firefoxを使う こちらを見た。Chromeのやり方もあるみたいだけどできなかったので、Firefoxを使用した。ssh接続しているので物理的なディスプレイがない。なのでxvfbというやつを使うみたい。 Ubuntu:xvfbとfirefoxのインストール - Web系開発メモ selenium WebDriver(pytyon)でgeckodriverがないとか - あるシステム管理者の日常 Firefoxを複数起動 Firefoxを複数起動するときはマルチプロセスを使う。 【Python】マルチプロセス(並列プロセス)でSeleniumのFirefoxを複数起動する方法 | あずみ.net 追記 pyvirtualdisplayを使う python - How to fix Selenium WebDriverException: The browser appears to have exited before we could connect? - Stack Overflow send_keysができない send_keys results in Expected [object Undefined] undefined to be a string(..) in FF Nightly · Issue #647 · mozilla/geckodriver Releases · mozilla/geckodriver geckodriverを最新版にする。