README.md in gogo_driver-0.0.4 vs README.md in gogo_driver-0.0.5
- old
+ new
@@ -1,25 +1,27 @@
# GogoDriver
Super simple web driver.
+[![Gyazo](http://i.gyazo.com/511b5265c67d41fc2cd7394c1eee3b7a.gif)](http://gyazo.com/511b5265c67d41fc2cd7394c1eee3b7a)
+
## Installation
-1. Install gem as you like.
+[1] Install gem as you like.
$ gem install gogo_driver
-2. Install chromedriver. Below is the MacOS example.
+[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('https://www.facebook.com/')
driver.find('input#email').fill('mail@gogotanaka.com')
driver.find('input#pass').fill('password')
@@ -29,5 +31,6 @@
# ログインエラー後の処理
else
# ログイン成功時の処理
end
```
+