Sha256: 1a898945fbf69745a11f3de2d0ea4aa44b87070e90fd8e9a69c653b344011bba
Contents?: true
Size: 735 Bytes
Versions: 3
Compression:
Stored size: 735 Bytes
Contents
# GogoDriver Super simple web driver. [![Gyazo](http://i.gyazo.com/511b5265c67d41fc2cd7394c1eee3b7a.gif)](http://gyazo.com/511b5265c67d41fc2cd7394c1eee3b7a) ## Installation [1] Install gem as you like. $ gem install gogo_driver [2] Install chromedriver. Below is the MacOS example. $ brew install chromedriver ## Demo Let me show how to login Facebook. ```rb require 'gogo_driver' driver = GogoDriver.new driver.go('https://www.facebook.com/') driver.find('input#email').fill('mail@gogotanaka.com') driver.find('input#pass').fill('password') driver.submit if driver.has_text?('メールアドレスが正しくありません') # ログインエラー後の処理 else # ログイン成功時の処理 end ```
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gogo_driver-0.1.4 | README.md |
gogo_driver-0.1.3 | README.md |
gogo_driver-0.1.2 | README.md |