遅れてスミマセン Chromium Browser Advent Calendar 2017の7日目の記事です。 背景 E2E テストの構成をあらためて作り直す中で、最新の Chrome Headless を Java 環境で使うための手段が気になりました。 環境は Mac を前提としていますが、幸い Linux でも動作に問題は無いはずです。 記事は 2017/12 ベースの最新バージョンを利用しています。 今日ベースの最新は Selenide: 4.9 Selenium Java Driver (org.seleniumhq.seleniu.selenium-chrome-driver): 3.8.1 SeleniumWebDriver 2.34 です。 結論から言うと、少なくとも現時点では ChromeWebDriver Java 版も対応が終わっており、更に言語に応じた適切な Se