selenium エラーのメモ
お勉強中に出たエラーのメモ
エラー集
Error requesting http://localhost:4444/selenium-server/driver/: ERROR Server Exception: sessionId should not be null; has this session been started yet?
- $sel→start; のし忘れ。インスタンス作ってからstartする癖つけよう
Error requesting http://localhost:4444/selenium-server/driver/: Timed out after 30000ms
その他
clickやlocater指定でxpathに日本語の要素名を持つ場合はuse utf8を使う。何もしないでやると文字化けして機能しないことがある。