ユーザ用ツール

サイト用ツール


selenimu2

文書の過去の版を表示しています。


リング

  http://www.storklab.com/seleniumhq.org/docs/03_webdriver.html
  http://d.hatena.ne.jp/couger/20110903/1315062462
  http://hajimete-ruby.jugem.jp/?eid=82
  http://cropcrusher.web.infoseek.co.jp/support-ror3/devkit.html
  http://code.google.com/p/selenium/wiki/PythonBindings

Selenium2

ダウンロード

selenium-server-standalone-2.x.x.jar 

サーバ側の起動

サーバ機とクライアント機は同じでも問題ありません。またプログラムを実行するサーバと同一でも大丈夫です。

java -jar selenium-server-standalone-2.x.x.jar -role hub

クライアント側の起動

java -jar selenium-server-standalone-2.x.x.jar -role webdriver -hub   http://192.168.0.1:4444/grid/register

rubyでの実行

ActiveScriptRuby?では gem install selenium-webdriver ができなかったのでActiveScript?版をアンインストールしてmingw32版を入れる。

ruby(mingw32)を入れる

devkitを入れる

http://rubyinstaller.org/downloads
DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe

devkitを解凍し、解凍したディレクトリに移動し

ruby dk.rb init
ruby dk.rb install
gem install selenium-webdriver

でインストール

Pythonで実行

pythonを入れる。

ActivePython-2.7.2.5-win32-x86.msi

pipのsetuptoolsを入れる

http://pypi.python.org/pypi/setuptools#files
setuptools-0.6c11.win32-py2.7.exe (md5)

pipでseleniumを入れる。

pip install selenium
selenimu2.1393030499.txt.gz · 最終更新: 2019/06/30 12:22 (外部編集)