こんにちは、ヘッドレス サーバーで簡単なセレン テストを実行しようとしています。HtmlUnitサーバーが128 mbramしかないので使いたいのでxvfb+firefox不向きです。
私が実行するとき:
java -jar selenium-server.jar -htmlSuite *webdriver http://example.com test.html log.html
私はこのエラーが発生します:
java.lang.RuntimeException: com.thoughtworks.selenium.SeleniumException: No webdriver session id given
htmlunit問題は、ブラウザがインストールされていないことだと思います。ではない?
htmlunit ブラウザをインストールするにはどうすればよいですか?