README.md in gogo_driver-0.0.2 vs README.md in gogo_driver-0.0.3
- old
+ new
@@ -1,31 +1,37 @@
# GogoDriver
-TODO: Write a gem description
+Super simple web driver.
## Installation
-Add this line to your application's Gemfile:
+1. Install gem as you like.
-```ruby
-gem 'gogo_driver'
-```
+ $ gem install gogo_driver
+
+2. Install chromedriver. Below is the MacOS example.
-And then execute:
+ $ brew install chromedriver
- $ bundle
-Or install it yourself as:
+## Demo
- $ gem install gogo_driver
+Let me show how to login Facebook.
-## Usage
+```
+require 'gogo_driver'
+include GogoDriver
-TODO: Write usage instructions here
+go('https://www.facebook.com/')
-## Contributing
+find('input#email').fill('mail@gogotanaka.com')
-1. Fork it ( https://github.com/[my-github-username]/gogo_driver/fork )
-2. Create your feature branch (`git checkout -b my-new-feature`)
-3. Commit your changes (`git commit -am 'Add some feature'`)
-4. Push to the branch (`git push origin my-new-feature`)
-5. Create a new Pull Request
+find('input#pass').fill('password')
+
+submit
+
+if driver.has_text?('メールアドレスが正しくありません')
+ # ログインエラー後の処理
+else
+ # ログイン成功時の処理
+end
+```